1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 00:33:59 +03:00
This commit is contained in:
Timothy Clem 2018-04-02 11:19:15 -07:00
parent e56c338c7e
commit 6c1cd03621

View File

@ -234,7 +234,7 @@ instance (Monad m, MonadEvaluatable term Value m) => MonadValue Value m where
asString v
| Just (String n) <- prjValue v = pure n
| otherwise = fail ("expected " <> show v <> " to be a string")
| otherwise = fail ("expected " <> show v <> " to be a string")
ifthenelse cond if' else'
| Just (Boolean b) <- prjValue cond = if b then if' else else'