diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2020-05-08 10:23:03 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2020-05-08 10:23:05 +0000 |
| commit | 6afecae50e4faafafbde8dae6bf8f534b8b7f1da (patch) | |
| tree | 56b74371bf9855272e86c9c5cced39c8cbc43ce8 /alv/result | |
| parent | wip new type system and refactoring (diff) | |
| download | alive-6afecae50e4faafafbde8dae6bf8f534b8b7f1da.tar.gz alive-6afecae50e4faafafbde8dae6bf8f534b8b7f1da.zip | |
add alv.type and spec
Diffstat (limited to 'alv/result')
| -rw-r--r-- | alv/result/const.moon | 4 | ||||
| -rw-r--r-- | alv/result/sig.moon | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/alv/result/const.moon b/alv/result/const.moon index 10bc943..b9a7cf4 100644 --- a/alv/result/const.moon +++ b/alv/result/const.moon @@ -5,10 +5,10 @@ -- -- @classmod Constant import Stream from require 'alv.result.base' +import Primitive from require 'alv.type' import RTNode from require 'alv.rtnode' import Error from require 'alv.error' import scope, base from require 'alv.cycle' -import Primitive from require 'alv.types' num = Primitive 'num' str = Primitive 'str' @@ -24,7 +24,7 @@ ancestor = (klass) -> class Constant extends Stream --- Whether this Result is dirty. -- - -- @tresult bool always `false`. + -- @treturn bool always `false`. dirty: => false --- unwrap to the Lua type. diff --git a/alv/result/sig.moon b/alv/result/sig.moon index d7c18a3..6bcba65 100644 --- a/alv/result/sig.moon +++ b/alv/result/sig.moon @@ -3,7 +3,7 @@ -- -- @classmod SigStream import Stream from require 'alv.result.base' -import Primitive from require 'alv.types' +import Primitive from require 'alv.type' class SigStream extends Stream --- members |
