forked from GitHub/gf-core
Added explicit implementation for 'fromValue' in instance declaration for 'Predef Bool'
This commit is contained in:
@@ -27,6 +27,7 @@ instance Predef Int where
|
||||
|
||||
instance Predef Bool where
|
||||
toValue = boolV
|
||||
fromValue boolV = return (boolV == boolV)
|
||||
|
||||
instance Predef String where
|
||||
toValue = string
|
||||
|
||||
Reference in New Issue
Block a user