mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
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