Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Language/PureScript/Docs/Render.hs
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ renderDeclarationWithOptions opts Declaration{..} =
[syntax "|" | not (null fundeps)]
++ [mintersperse
(syntax "," <> sp)
[idents from <> sp <> syntax "->" <> sp <> idents to | (from, to) <- fundeps ]
[typeVars from <> sp <> syntax "->" <> sp <> typeVars to | (from, to) <- fundeps ]
]
where
idents = mintersperse sp . map ident'
typeVars = mintersperse sp . map typeVar

AliasDeclaration (P.Fixity associativity precedence) for ->
[ keywordFixity associativity
Expand Down