From 35be1828241bb8dacdf326810af388b7b349e591 Mon Sep 17 00:00:00 2001 From: hallgren Date: Mon, 28 Sep 2015 22:23:56 +0000 Subject: Preliminary new shell feature: cc -trace. You can now do things like cc -trace mkV "debug" to see a trace of all opers with their arguments and results during the computation of mkV "debug". --- src/compiler/GF/Compile/Compute/Value.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler/GF/Compile/Compute/Value.hs') diff --git a/src/compiler/GF/Compile/Compute/Value.hs b/src/compiler/GF/Compile/Compute/Value.hs index 9bc258562..1cf1d88ee 100644 --- a/src/compiler/GF/Compile/Compute/Value.hs +++ b/src/compiler/GF/Compile/Compute/Value.hs @@ -49,7 +49,7 @@ type Env = [(Ident,Value)] data Predefined = Drop | Take | Tk | Dp | EqStr | Occur | Occurs | ToUpper | ToLower | IsUpper | Length | Plus | EqInt | LessInt {- | Show | Read | ToStr | MapStr | EqVal -} - | Error + | Error | Trace -- Canonical values below: | PBool | PFalse | PTrue | Int | Ints | NonExist | BIND | SOFT_BIND | SOFT_SPACE | CAPIT | ALL_CAPIT -- cgit v1.2.3