diff options
Diffstat (limited to 'src/compiler/GF/Grammar/MMacros.hs')
| -rw-r--r-- | src/compiler/GF/Grammar/MMacros.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/compiler/GF/Grammar/MMacros.hs b/src/compiler/GF/Grammar/MMacros.hs index 9f4587967..66d8a857f 100644 --- a/src/compiler/GF/Grammar/MMacros.hs +++ b/src/compiler/GF/Grammar/MMacros.hs @@ -28,6 +28,8 @@ import GF.Grammar.Macros import Control.Monad import GF.Text.Pretty +-- ** Some more abstractions on grammars, esp. for Edit + {- nodeTree :: Tree -> TrNode argsTree :: Tree -> [Tree] @@ -151,7 +153,7 @@ substTerm ss g c = case c of metaSubstExp :: MetaSubst -> [(MetaId,Exp)] metaSubstExp msubst = [(m, errVal (meta2exp m) (val2expSafe v)) | (m,v) <- msubst] --- * belong here rather than to computation +-- ** belong here rather than to computation substitute :: [Var] -> Substitution -> Exp -> Err Exp substitute v s = return . substTerm v s |
