{-# LANGUAGE GADTs #-}
data A
data B a where
Foo :: a -> B A
main = let x = Foo "ok" in putStrLn "YAY!"
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE GADTs #-}
data A
data B a where
Foo :: a -> B A
main = let x = Foo "ok" in putStrLn "YAY!"