Fix operators for ThingWith

pull/83/head
sniperrifle2004 2017-12-19 01:17:19 +01:00
parent eac17b1bf2
commit 7c51a181c8
3 changed files with 3 additions and 1 deletions

View File

@ -666,6 +666,7 @@ import Test ( T
, T3(..)
, T4(T4)
, T5(T5, t5)
, T6((<|>))
, (+)
)

View File

@ -714,6 +714,7 @@ import Test ( T
, T3(..)
, T4(T4)
, T5(T5, t5)
, T6((<|>))
, (+)
)

View File

@ -47,7 +47,7 @@ layoutIE lie@(L _ ie) = docWrapNode lie $ case ie of
docSeq
$ [ien, docLit $ Text.pack "("]
++ ( intersperse docCommaSep
(map (docLit . lrdrNameToText . prepareName) ns)
(map ((docLit =<<) . lrdrNameToTextAnn . prepareName) ns)
++ intersperse docCommaSep (map prepareFL fs)
)
++ [docLit $ Text.pack ")"]