mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-14 07:19:31 -06:00
fix typo
This commit is contained in:
@@ -938,10 +938,10 @@ value2termM flat xs (VReset ctl mb_cv v qid) = do
|
||||
where
|
||||
reduce ctl mb_cv ts
|
||||
| ctl == cConcat = do
|
||||
ts' <- case mb_cv of
|
||||
Just (VInt n) -> return (genericTake n ts)
|
||||
Nothing -> return ts
|
||||
_ -> evalError (pp "[concat: .. | ..] requires an integer constant")
|
||||
ts <- case mb_cv of
|
||||
Just (VInt n) -> return (genericTake n ts)
|
||||
Nothing -> return ts
|
||||
_ -> evalError (pp "[concat: .. | ..] requires an integer constant")
|
||||
case ts of
|
||||
[t] -> return t
|
||||
ts -> return (Markup identW [] ts)
|
||||
|
||||
Reference in New Issue
Block a user