diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2020-02-16 11:47:24 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2020-02-16 11:47:24 +0000 |
| commit | 2953f1e56b408fc26eb54fa65935505dd128ce82 (patch) | |
| tree | 8c7c513ccf03df06c4e9e2e70ba68031d2d0b7a5 /lib/debug.moon | |
| parent | add ==, mod (diff) | |
| download | alive-2953f1e56b408fc26eb54fa65935505dd128ce82.tar.gz alive-2953f1e56b408fc26eb54fa65935505dd128ce82.zip | |
major refactoring: Const, Stream + ResultNode
Diffstat (limited to 'lib/debug.moon')
| -rw-r--r-- | lib/debug.moon | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/debug.moon b/lib/debug.moon index ece365f..f642c2e 100644 --- a/lib/debug.moon +++ b/lib/debug.moon @@ -3,12 +3,10 @@ import Op from require 'core' class out extends Op @doc: "(out name-str value) - log value to the console" - setup: (name, @chld) => - @name = name\getc! + setup: (@name, @value) => update: (dt) => - @chld\update dt - L\print "@name", @chld\get! + L\print "#{@name\unwrap 'str'}", @value\unwrap! { :out |
