| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Autolib.ToDoc.Dutch
Synopsis
- dutch :: (Doc, Doc, Doc) -> [Doc] -> Doc
- named_dutch_record :: Doc -> [Doc] -> Doc
- flowing_dutch :: (Type Doc, Doc, Type Doc) -> [Doc] -> Type Doc
- dutch_tuple :: [Doc] -> Doc
- dutch_list :: [Doc] -> Doc
- dutch_set :: [Doc] -> Doc
- dutch_semi :: [Doc] -> Doc
- sepBy :: Doc -> [Doc] -> Doc
- quoted :: Doc -> Doc
- (</>) :: Doc -> Doc -> Doc
Documentation
output sequences in "dutch style" i. e. wrapped lines start (instead of end) with separators.
flowing_dutch :: (Type Doc, Doc, Type Doc) -> [Doc] -> Type Doc Source #
Make dutch-style group. If we are right of current-indentation, then start a new line, and indent. See discussion at https://git.imn.htwk-leipzig.de/autotool/all0/-/issues/960
dutch_tuple :: [Doc] -> Doc Source #
dutch_list :: [Doc] -> Doc Source #
dutch_semi :: [Doc] -> Doc Source #