From 5731f3b94f560eb2e604871609c7ea139e932ad2 Mon Sep 17 00:00:00 2001
From: Ben Gamari type family a (a :: Nat) + b :: (b :: Nat) :: Nat where ... infixl 6 This is some documentation that is attached to a name ($aux1) This is some documentation that is attached to a name ($aux2) a nested, named doc comment This is some inline documentation in the export list data DP A = ProblemCtor' A # data TP A = ProblemCtor A # data DP A = ProblemCtor' A # data ThudInt (Quux a [a] c) a [a] c) # (:<->) :: forall t t. t -> t -> ( t t1. t -> t1 -> (FooType t, FooType (FooType t)) t1)) code block in named doc
code block on its own in named doc
code block on its own in named doc (after newline)
foo
bar
type Foo X = Y # type (<>)XXX XX = X # data AssocD* X = AssocX # type AssocT* X = Foo * X # data Bat* X # type Foo* X = Y # type (<>)* X a = X a # data Bar data AssocD* Y = AssocY # type AssocT* Y = Bat * Y # data Bat* Y = BatY Y # type Foo* Y = X # type (<>)* Y a = a a # data Bat Z where #Doc for: data instance Bat Z type Foo* Y = X # type Foo* X = Y # data family Bat a :: (a :: k) :: * # data Bat Z where # data Bat* Y = BatY Y # data Bat* X #Doc for: data instance Bat X type family Bar b b where ... #
type family a (a :: k) <> b :: k (b :: k) :: k #