Skip to content
This repository was archived by the owner on Feb 3, 2021. It is now read-only.

Commit 5b232c1

Browse files
committed
Update .WHAT output to match current spec.
::Int -> Int()
1 parent 28fc42f commit 5b232c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Pugs/src/Pugs/Pretty.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ instance Pretty Val where
219219
-- return $ pretty val
220220
format (VRule _) = text $ "{regex}"
221221
format (VSubst _) = text $ "{subst}"
222-
format (VType t) = text $ "::" ++ showType t
222+
format (VType t) = text $ showType t ++ "()"
223223
format (VObject o) = text $ "{obj:" ++ showType (objType o) ++ "}"
224224
format (VMatch m) = cat
225225
[ text "Match.new("

0 commit comments

Comments
 (0)