true/false for boolField #595

This commit is contained in:
Michael Snoyman 2013-09-08 17:21:08 +02:00
parent 94e4310a9c
commit 43e806ef4e

View File

@ -437,6 +437,8 @@ $newline never
"yes" -> Right $ Just True
"on" -> Right $ Just True
"no" -> Right $ Just False
"true" -> Right $ Just True
"false" -> Right $ Just False
t -> Left $ SomeMessage $ MsgInvalidBool t
showVal = either (\_ -> False)