blob: 3d4b1425cdb2ea0a0c023ca2d4a188417f98d078 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{-# LANGUAGE PolyKinds #-}
{-# LANGUAGE RebindableSyntax #-}
{-# LANGUAGE ScopedTypeVariables #-}
module RepPolyDoBody1 where
import GHC.Exts
import Prelude ( undefined )
(>>)
:: forall
rep
( ma :: TYPE rep )
( mb :: TYPE rep )
( mc :: TYPE rep )
. ma -> mb -> mc
(>>) = undefined
return :: forall rep (ma :: TYPE rep). () -> ma
return = undefined
foo :: forall rep (ma :: TYPE rep). () -> ma
foo _ = do
undefined :: ma
return ()
|