mirror of
https://github.com/github/semantic.git
synced 2024-12-01 00:33:59 +03:00
Align
This commit is contained in:
parent
e56c338c7e
commit
6c1cd03621
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user