true/false for boolField #595
This commit is contained in:
parent
94e4310a9c
commit
43e806ef4e
@ -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)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user