git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Add Show Unit instance
commit66b09a8a9aa0738d07cf53eb25a21acd0ef1f416 authorBrian McKenna <brian@simpleenergy.com> dateWed 7 May 2014, 10:43 (12 years ago) parentd201dca
1 file changed+3
prelude/prelude.purs+3
prelude/prelude.purs+3
@@ -80,6 +80,9 @@ module Prelude
8080 \ return JSON.stringify(s);\
8181 \}" :: String -> String
8282
83+ instance showUnit :: Show Unit where
84+ show (Unit {}) = "Unit {}"
85+
8386 instance showString :: Show String where
8487 show = showStringImpl
8588