Revise parameterized-utils list cons.

This commit is contained in:
Joe Hendrix 2017-12-08 11:43:56 -08:00
parent da8d7a0c7a
commit 0c9efc984c
No known key found for this signature in database
GPG Key ID: 8DFA5FF784098C4F

View File

@ -141,7 +141,7 @@ instance Show (TypeRepr tp) where
show BoolTypeRepr = "bool"
show (BVTypeRepr w) = "[" ++ show w ++ "]"
show (TupleTypeRepr P.Nil) = "()"
show (TupleTypeRepr (h P.:> z)) =
show (TupleTypeRepr (h P.:< z)) =
"(" ++ show h ++ foldrFC (\tp r -> "," ++ show tp ++ r) ")" z
instance KnownRepr TypeRepr BoolType where