Skip to content

Commit 86b0030

Browse files
houlikritzcreek
authored andcommitted
Fix functional dependencies rendering as links (purescript#3184)
* Fix functional dependencies rendering as links * Rename idents to typeVars
1 parent 6c14cab commit 86b0030

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Language/PureScript/Docs/Render.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ renderDeclarationWithOptions opts Declaration{..} =
6767
[syntax "|" | not (null fundeps)]
6868
++ [mintersperse
6969
(syntax "," <> sp)
70-
[idents from <> sp <> syntax "->" <> sp <> idents to | (from, to) <- fundeps ]
70+
[typeVars from <> sp <> syntax "->" <> sp <> typeVars to | (from, to) <- fundeps ]
7171
]
7272
where
73-
idents = mintersperse sp . map ident'
73+
typeVars = mintersperse sp . map typeVar
7474

7575
AliasDeclaration (P.Fixity associativity precedence) for ->
7676
[ keywordFixity associativity

0 commit comments

Comments
 (0)