mirror of
https://github.com/ilyakooo0/ormolu.git
synced 2024-10-27 19:49:12 +03:00
ae40a33507
The approach we take here is parsing of language pragmas on creation of comment stream and then pretty-printing them in a separate block.
27 lines
278 B
Haskell
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
|