diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2020-04-05 13:00:50 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2020-04-05 13:00:50 +0000 |
| commit | ff57a651f4f5c99903ad84ee73e0c4d760761a53 (patch) | |
| tree | 941def9e26d5c819fd451434e88f504a0a51e251 | |
| parent | fix core.base.match docs (diff) | |
| download | alive-ff57a651f4f5c99903ad84ee73e0c4d760761a53.tar.gz alive-ff57a651f4f5c99903ad84ee73e0c4d760761a53.zip | |
add 'bang' builtin
| -rw-r--r-- | core/builtin.moon | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/builtin.moon b/core/builtin.moon index 80e3d8f..babe2e4 100644 --- a/core/builtin.moon +++ b/core/builtin.moon @@ -316,6 +316,12 @@ print = ValueStream.meta summary: "The boolean constant `false`." value: ValueStream.bool false + bang: ValueStream.meta + meta: + name: 'bang' + summary: "A `bang` value-constant." + value: ValueStream 'bang', true + :fn, :defn 'do': do_expr if: if_ |
