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/base | |
| 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/base')
| -rw-r--r-- | alv/base/init.moon | 10 | ||||
| -rw-r--r-- | alv/base/match.moon | 2 |
2 files changed, 10 insertions, 2 deletions
diff --git a/alv/base/init.moon b/alv/base/init.moon index 71e9cea..62de2ab 100644 --- a/alv/base/init.moon +++ b/alv/base/init.moon @@ -24,6 +24,7 @@ import FnDef from require 'alv.base.fndef' import Input from require 'alv.base.input' import val, evt from require 'alv.base.match' import Constant, SigStream, EvtStream, IOStream from require 'alv.result' +import Primitive, Array, Struct from require 'alv.type' import RTNode from require 'alv.rtnode' import Error from require 'alv.error' @@ -35,6 +36,13 @@ import Error from require 'alv.error' :val, :evt -- redundant exports, to keep anything an extension might need in one import + + -- Results :Constant, :SigStream, :EvtStream, :IOStream - :RTNode, :Error + + -- Types + :Primitive, :Array, :Struct + + :RTNode + :Error } diff --git a/alv/base/match.moon b/alv/base/match.moon index 819b0b4..3a2b3d5 100644 --- a/alv/base/match.moon +++ b/alv/base/match.moon @@ -45,7 +45,7 @@ -- -- @module base.match import Error from require 'alv.error' -import Primitive from require 'alv.types' +import Primitive from require 'alv.type' local Repeat, Sequence, Choice, Optional |
