diff options
Diffstat (limited to 'testsuite/tests/printer/Test15303.hs')
-rw-r--r-- | testsuite/tests/printer/Test15303.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/printer/Test15303.hs b/testsuite/tests/printer/Test15303.hs new file mode 100644 index 0000000000..212e9da5ac --- /dev/null +++ b/testsuite/tests/printer/Test15303.hs @@ -0,0 +1,6 @@ +{-# LANGUAGE DataKinds #-} +{-# LANGUAGE TypeOperators #-} + +(~#) :: Comonad w => CascadeW w (t ': ts) -> w t -> Last (t ': ts) +(~#) = cascadeW +infixr 0 ~# |