Properly display the empty list
This commit is contained in:
parent
90f97c4c30
commit
54214ed10c
1 changed files with 1 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ displayName name
|
|||
]
|
||||
|
||||
displayStat :: Stat T.Text -> T.Text
|
||||
displayStat (Stat "[]" []) = "[]"
|
||||
displayStat (Stat "[|]" [a, b]) = "[" <> displayTerm a <> displayList b
|
||||
displayStat (Stat name []) = displayName name
|
||||
displayStat (Stat name args)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue