Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/trepl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Farabet <clement.farabet@gmail.com>2013-02-25 02:29:30 +0400
committerClement Farabet <clement.farabet@gmail.com>2013-02-25 02:29:30 +0400
commitbf8e1b6c3f4c9c6ed17774a89e492e20491c5f1f (patch)
tree1a61f966643bb8cd10c8e698a01f9ff45027cdaf /README.md
parent01ef71ffa2b62df699d631ff6436def71490ee6d (diff)
Documented ;
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/README.md b/README.md
index f9f028f..f79c79c 100644
--- a/README.md
+++ b/README.md
@@ -94,3 +94,18 @@ that's only used if not already defined:
test
```
+Hide output. By default, TREPL always tries to dump
+the content of what's evaluated. Use ; to stop it.
+
+```lua
+[Lua # 1] > a = torch.Tensor(3)
+[Lua # 1] > a:zero()
+0
+0
+0
+[torch.DoubleTensor of dimension 3]
+
+[Lua # 3] > a:zero();
+[Lua # 4] >
+```
+