Advertisement
Guest User

Untitled

a guest
Jan 29th, 2015
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. {-# LANGUAGE RankNTypes, ImpredicativeTypes, ScopedTypeVariables #-}
  2.  
  3. main = return ()
  4.  
  5.  
  6. data Lam f = Lam f
  7.  
  8. helper =
  9. let a = Lam undefined :: Lam (forall a. a -> a)
  10. --b = Lam id :: Lam (forall a. a -> a)
  11. --c = Lam id2 :: Lam (forall a. a -> a)
  12. in ()
  13.  
  14.  
  15. id2 :: forall a. a -> a
  16. id2 x = x
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement