look through substitutions in Q.S.T.Split
This commit is contained in:
parent
e896b24f58
commit
8447098f28
2 changed files with 85 additions and 35 deletions
|
@ -107,8 +107,8 @@ mutual
|
|||
prettyM (Sig s (S [x] t)) =
|
||||
prettyBindType {q} [] x s !timesD t
|
||||
prettyM (Pair s t) =
|
||||
let GotPairs {init, last, _} = getPairs t in
|
||||
prettyTuple $ s :: init ++ [last]
|
||||
let GotPairs {init, last, _} = getPairs' [< s] t in
|
||||
prettyTuple $ toList $ init :< last
|
||||
prettyM (Enum tags) =
|
||||
pure $ delims "`{" "}" . aseparate comma $ map prettyTag $
|
||||
Prelude.toList tags
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue