blob: 5cd0a59a05341383c0c9622bacb8aace5931378f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
==================== Parser ====================
module ConstructorFields where
data Foo
= " doc on `Bar` constructor" Bar Int String |
" doc on the `Baz` constructor"
Baz Int " doc on the `Int` field of `Baz`" String " doc on the `String` field of `Baz`" |
" doc on the `:+` constructor" Int :+ String |
" doc on the `:*` constructor"
Int " doc on the `Int` field of the `:*` constructor" :* String " doc on the `String` field of the `:*` constructor" |
" doc on the `Boo` record constructor" Boo {x :: ()} |
" doc on the `Boa` record constructor" Boa {y :: ()}
|