mirror of
https://github.com/github/semantic.git
synced 2024-11-24 08:54:07 +03:00
Print the bodies of abstractions.
This commit is contained in:
parent
8b6e1c1c08
commit
0c5c3910f6
@ -114,7 +114,7 @@ public enum Syntax<Payload>: CustomDebugStringConvertible, CustomDocConvertible
|
||||
.Text("λ"),
|
||||
.Join(.Text(", "), parameters.map(Doc.init)),
|
||||
.Text("."),
|
||||
Doc(body)
|
||||
.Vertical(body.map(Doc.init))
|
||||
])
|
||||
case let .Assign(n, v):
|
||||
return .Horizontal([ .Text(n), .Text("="), Doc(v) ])
|
||||
|
Loading…
Reference in New Issue
Block a user