DEBSOURCES
Skip Quicknav
sources / haskell-src-exts / 1.23.1-5 / tests / examples / RoleAnnotations2.hs
123456789
{-# LANGUAGE RoleAnnotations #-} data Foo a = Foo a type role Foo representational main = print $ foo 1 foo :: Int -> Int foo role = 42