diff options
| author | Eduardo Julian | 2017-12-25 00:24:18 -0400 |
|---|---|---|
| committer | Eduardo Julian | 2017-12-25 00:24:18 -0400 |
| commit | a4c4a5b8c744eae8108c02e402600a61fdc74d02 (patch) | |
| tree | 8b11a6c4a6adc3dd28e289426c3a923449b7e0d0 /stdlib/source/lux.lux | |
| parent | 342cc20371fd43a6d6ac93620283072dbdcc26ac (diff) | |
- Added module for predicates.
- Added refinement types.
- Small refactorings and fixes.
- Added the capacity to unquote expressions inside the 'lux.type' macro.
Diffstat (limited to '')
| -rw-r--r-- | stdlib/source/lux.lux | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/stdlib/source/lux.lux b/stdlib/source/lux.lux index cf5707996..e4214a899 100644 --- a/stdlib/source/lux.lux +++ b/stdlib/source/lux.lux @@ -2608,6 +2608,9 @@ #Nil))))] (` ("lux in-module" (~ (text$ module)) (~ (walk-type type')))) + [_ (#Form (#Cons [_ (#Symbol ["" "~"])] (#Cons expression #Nil)))] + expression + [_ (#Form (#Cons type-fn args))] (list/fold ("lux check" (-> Code Code Code) (function' [arg type-fn] (` (#.Apply (~ arg) (~ type-fn))))) |
