summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Command/Commands.hs
diff options
context:
space:
mode:
authorArianna Masciolini <uzkamascio@gmail.com>2025-08-02 20:26:36 +0200
committerGitHub <noreply@github.com>2025-08-02 20:26:36 +0200
commit2324fe795c5eb0106c0f29940df43405104ce243 (patch)
treea0069f9dc355b80206171a9e46ff9f172936fb28 /src/compiler/GF/Command/Commands.hs
parentf1a72a066ffd34ec2b7f597bc314137908dfc64c (diff)
parent703b1e5d925a7e497f98f18b26bb16e7ca0f95b2 (diff)
Merge pull request #181 from GrammaticalFramework/pr-174bis (also close #174)
PR #174bis
Diffstat (limited to 'src/compiler/GF/Command/Commands.hs')
-rw-r--r--src/compiler/GF/Command/Commands.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/GF/Command/Commands.hs b/src/compiler/GF/Command/Commands.hs
index f31a23083..7f27e8a45 100644
--- a/src/compiler/GF/Command/Commands.hs
+++ b/src/compiler/GF/Command/Commands.hs
@@ -428,7 +428,8 @@ pgfCommands = Map.fromList [
"are type checking and semantic computation."
],
examples = [
- mkEx "pt -compute (plus one two) -- compute value"
+ mkEx "pt -compute (plus one two) -- compute value",
+ mkEx ("p \"the 4 dogs\" | pt -transfer=digits2numeral | l -- \"the four dogs\" ")
],
exec = getEnv $ \ opts arg (Env pgf mos) ->
returnFromExprs . takeOptNum opts . treeOps pgf opts $ toExprs arg,