ormolu/data/examples/declaration/role-annotation/simple-out.hs
waddlaw ae40a33507 Sort language pragmas and fix their placement in modules
The approach we take here is parsing of language pragmas on creation of
comment stream and then pretty-printing them in a separate block.
2019-07-05 20:03:31 +02:00

27 lines
278 B
Haskell

{-# LANGUAGE MagicHash #-}
{-# LANGUAGE RoleAnnotations #-}
type role Ptr representational
type role A nominal nominal
type role B _ phantom
type role C _ _
type role
D
phantom
nominal
type role
E
_
nominal
type role
E
_
nominal
phantom