Added explicit implementation for 'fromValue' in instance declaration for 'Predef Bool'
This commit is contained in:
1 parent
4364b1d9fb
commit
1f7584bf98
1 file changed
+1
@@ -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