diff options
Diffstat (limited to 'stdlib')
43 files changed, 42 insertions, 42 deletions
diff --git a/stdlib/source/lux/math/random.lux b/stdlib/source/lux/random.lux index 802dbfae6..802dbfae6 100644 --- a/stdlib/source/lux/math/random.lux +++ b/stdlib/source/lux/random.lux diff --git a/stdlib/source/lux/test.lux b/stdlib/source/lux/test.lux index e2bff250e..4bebfe10c 100644 --- a/stdlib/source/lux/test.lux +++ b/stdlib/source/lux/test.lux @@ -18,7 +18,7 @@ text/format [error #- fail "Error/" Monad<Error>]) (codata [io #- run]) - (math ["R" random]) + ["R" random] [host #- try])) ## [Host] diff --git a/stdlib/test/test/lux.lux b/stdlib/test/test/lux.lux index 5b530ba98..6c1ea6f4b 100644 --- a/stdlib/test/test/lux.lux +++ b/stdlib/test/test/lux.lux @@ -9,7 +9,7 @@ (lux (control monad) (codata [io]) [math] - (math ["R" random]) + ["R" random] (data [text "T/" Eq<Text>] text/format) [compiler] diff --git a/stdlib/test/test/lux/cli.lux b/stdlib/test/test/lux/cli.lux index 31f119828..2aab87ae4 100644 --- a/stdlib/test/test/lux/cli.lux +++ b/stdlib/test/test/lux/cli.lux @@ -15,7 +15,7 @@ (struct [list])) (codata function) ["&" cli] - (math ["R" random]) + ["R" random] pipe) lux/test) diff --git a/stdlib/test/test/lux/codata/cont.lux b/stdlib/test/test/lux/codata/cont.lux index 251f8f50d..39fdd6f42 100644 --- a/stdlib/test/test/lux/codata/cont.lux +++ b/stdlib/test/test/lux/codata/cont.lux @@ -13,7 +13,7 @@ [product]) (codata function ["&" cont]) - (math ["R" random]) + ["R" random] pipe) lux/test) diff --git a/stdlib/test/test/lux/codata/struct/stream.lux b/stdlib/test/test/lux/codata/struct/stream.lux index 6a86de2da..41132b2ee 100644 --- a/stdlib/test/test/lux/codata/struct/stream.lux +++ b/stdlib/test/test/lux/codata/struct/stream.lux @@ -15,7 +15,7 @@ (codata function [cont] (struct ["&" stream])) - (math ["R" random]) + ["R" random] pipe) lux/test) diff --git a/stdlib/test/test/lux/concurrency/atom.lux b/stdlib/test/test/lux/concurrency/atom.lux index 6e92e364d..312bc0369 100644 --- a/stdlib/test/test/lux/concurrency/atom.lux +++ b/stdlib/test/test/lux/concurrency/atom.lux @@ -11,7 +11,7 @@ (struct [list "" Functor<List>]) text/format) (concurrency ["&" atom]) - (math ["R" random]) + ["R" random] pipe) lux/test) diff --git a/stdlib/test/test/lux/concurrency/promise.lux b/stdlib/test/test/lux/concurrency/promise.lux index 51a62df7f..53accdfcc 100644 --- a/stdlib/test/test/lux/concurrency/promise.lux +++ b/stdlib/test/test/lux/concurrency/promise.lux @@ -12,7 +12,7 @@ (concurrency ["&" promise]) (codata function [io #- run]) - (math ["R" random]) + ["R" random] pipe) lux/test) diff --git a/stdlib/test/test/lux/concurrency/stm.lux b/stdlib/test/test/lux/concurrency/stm.lux index 2f0b7d99c..5b385c685 100644 --- a/stdlib/test/test/lux/concurrency/stm.lux +++ b/stdlib/test/test/lux/concurrency/stm.lux @@ -13,7 +13,7 @@ (concurrency ["&" stm] [promise]) (codata function) - (math ["R" random]) + ["R" random] pipe) lux/test) diff --git a/stdlib/test/test/lux/control/effect.lux b/stdlib/test/test/lux/control/effect.lux index cffdbd561..be7eda3aa 100644 --- a/stdlib/test/test/lux/control/effect.lux +++ b/stdlib/test/test/lux/control/effect.lux @@ -11,7 +11,7 @@ (data [text] text/format) [macro] - (math ["R" random]) + ["R" random] pipe (control effect)) lux/test) diff --git a/stdlib/test/test/lux/data/bit.lux b/stdlib/test/test/lux/data/bit.lux index 5aca04332..0b66b30f5 100644 --- a/stdlib/test/test/lux/data/bit.lux +++ b/stdlib/test/test/lux/data/bit.lux @@ -9,7 +9,7 @@ (codata [io]) (data ["&" bit] number) - (math ["R" random])) + ["R" random]) lux/test) (def: width Nat +64) diff --git a/stdlib/test/test/lux/data/bool.lux b/stdlib/test/test/lux/data/bool.lux index 218846e2e..4c196546c 100644 --- a/stdlib/test/test/lux/data/bool.lux +++ b/stdlib/test/test/lux/data/bool.lux @@ -8,7 +8,7 @@ (lux (control [monad]) (codata [io]) (data bool) - (math ["R" random])) + ["R" random]) lux/test) (test: "Boolean operations." diff --git a/stdlib/test/test/lux/data/char.lux b/stdlib/test/test/lux/data/char.lux index cd3b7e101..6482dd219 100644 --- a/stdlib/test/test/lux/data/char.lux +++ b/stdlib/test/test/lux/data/char.lux @@ -10,7 +10,7 @@ (data char [text] text/format) - (math ["R" random]) + ["R" random] pipe [host #- try]) lux/test) diff --git a/stdlib/test/test/lux/data/error/exception.lux b/stdlib/test/test/lux/data/error/exception.lux index 42fe448db..312bca2a2 100644 --- a/stdlib/test/test/lux/data/error/exception.lux +++ b/stdlib/test/test/lux/data/error/exception.lux @@ -13,7 +13,7 @@ text/format [number]) (codata function) - (math ["R" random]) + ["R" random] pipe) lux/test) diff --git a/stdlib/test/test/lux/data/format/json.lux b/stdlib/test/test/lux/data/format/json.lux index 4564f1ba4..06c29707f 100644 --- a/stdlib/test/test/lux/data/format/json.lux +++ b/stdlib/test/test/lux/data/format/json.lux @@ -25,7 +25,7 @@ (macro [ast] [syntax #+ syntax:] [poly #+ derived:]) - (math ["R" random]) + ["R" random] pipe test) ) diff --git a/stdlib/test/test/lux/data/ident.lux b/stdlib/test/test/lux/data/ident.lux index 14adc5371..70a8d2a58 100644 --- a/stdlib/test/test/lux/data/ident.lux +++ b/stdlib/test/test/lux/data/ident.lux @@ -10,7 +10,7 @@ (data ["&" ident] [text "Text/" Eq<Text>] text/format) - (math ["R" random]) + ["R" random] pipe) lux/test) diff --git a/stdlib/test/test/lux/data/number.lux b/stdlib/test/test/lux/data/number.lux index 832c8fbdd..20d72adf6 100644 --- a/stdlib/test/test/lux/data/number.lux +++ b/stdlib/test/test/lux/data/number.lux @@ -10,7 +10,7 @@ (data number [text "Text/" Monoid<Text> Eq<Text>] text/format) - (math ["R" random]) + ["R" random] pipe) lux/test) diff --git a/stdlib/test/test/lux/data/struct/array.lux b/stdlib/test/test/lux/data/struct/array.lux index 1b81ecf47..ae7ff4bbc 100644 --- a/stdlib/test/test/lux/data/struct/array.lux +++ b/stdlib/test/test/lux/data/struct/array.lux @@ -10,7 +10,7 @@ (data (struct ["&" array] [list]) [number]) - (math ["R" random]) + ["R" random] pipe) lux/test) diff --git a/stdlib/test/test/lux/data/struct/dict.lux b/stdlib/test/test/lux/data/struct/dict.lux index acd878e8d..b467e232a 100644 --- a/stdlib/test/test/lux/data/struct/dict.lux +++ b/stdlib/test/test/lux/data/struct/dict.lux @@ -15,7 +15,7 @@ (struct ["&" dict] [list "List/" Fold<List> Functor<List>])) (codata function) - (math ["R" random]) + ["R" random] pipe) lux/test) diff --git a/stdlib/test/test/lux/data/struct/list.lux b/stdlib/test/test/lux/data/struct/list.lux index db0a14f56..b40615036 100644 --- a/stdlib/test/test/lux/data/struct/list.lux +++ b/stdlib/test/test/lux/data/struct/list.lux @@ -12,7 +12,7 @@ [number] [bool] [product]) - (math ["R" random]) + ["R" random] pipe) lux/test) diff --git a/stdlib/test/test/lux/data/struct/queue.lux b/stdlib/test/test/lux/data/struct/queue.lux index 095d066f6..d92fecf10 100644 --- a/stdlib/test/test/lux/data/struct/queue.lux +++ b/stdlib/test/test/lux/data/struct/queue.lux @@ -9,7 +9,7 @@ (control monad) (data (struct ["&" queue]) [number]) - (math ["R" random]) + ["R" random] pipe) lux/test) diff --git a/stdlib/test/test/lux/data/struct/set.lux b/stdlib/test/test/lux/data/struct/set.lux index 27d80959f..ae709384f 100644 --- a/stdlib/test/test/lux/data/struct/set.lux +++ b/stdlib/test/test/lux/data/struct/set.lux @@ -10,7 +10,7 @@ (data (struct ["&" set] [list "" Fold<List>]) [number]) - (math ["R" random]) + ["R" random] pipe) lux/test) diff --git a/stdlib/test/test/lux/data/struct/stack.lux b/stdlib/test/test/lux/data/struct/stack.lux index 375c19b4b..001eb1af1 100644 --- a/stdlib/test/test/lux/data/struct/stack.lux +++ b/stdlib/test/test/lux/data/struct/stack.lux @@ -10,7 +10,7 @@ (data (struct ["&" stack] [list "" Fold<List>]) [number]) - (math ["R" random]) + ["R" random] pipe) lux/test) diff --git a/stdlib/test/test/lux/data/struct/tree.lux b/stdlib/test/test/lux/data/struct/tree.lux index 3c60628e5..91a81355e 100644 --- a/stdlib/test/test/lux/data/struct/tree.lux +++ b/stdlib/test/test/lux/data/struct/tree.lux @@ -10,7 +10,7 @@ (data (struct ["&" tree] [list "List/" Monad<List>]) [number]) - (math ["R" random]) + ["R" random] pipe) lux/test) diff --git a/stdlib/test/test/lux/data/struct/vector.lux b/stdlib/test/test/lux/data/struct/vector.lux index 76e4f7580..35663c63a 100644 --- a/stdlib/test/test/lux/data/struct/vector.lux +++ b/stdlib/test/test/lux/data/struct/vector.lux @@ -13,7 +13,7 @@ text/format [number]) (codata function) - (math ["R" random]) + ["R" random] pipe) lux/test) diff --git a/stdlib/test/test/lux/data/struct/zipper.lux b/stdlib/test/test/lux/data/struct/zipper.lux index 8e45b4ef1..37ada2859 100644 --- a/stdlib/test/test/lux/data/struct/zipper.lux +++ b/stdlib/test/test/lux/data/struct/zipper.lux @@ -14,7 +14,7 @@ text/format [number]) (codata function) - (math ["R" random]) + ["R" random] pipe) lux/test) diff --git a/stdlib/test/test/lux/data/text.lux b/stdlib/test/test/lux/data/text.lux index df2e621a9..14f58aedb 100644 --- a/stdlib/test/test/lux/data/text.lux +++ b/stdlib/test/test/lux/data/text.lux @@ -13,7 +13,7 @@ [number] (struct [list])) (codata function) - (math ["R" random]) + ["R" random] pipe) lux/test) diff --git a/stdlib/test/test/lux/host.lux b/stdlib/test/test/lux/host.lux index 41e171eb7..03ed87772 100644 --- a/stdlib/test/test/lux/host.lux +++ b/stdlib/test/test/lux/host.lux @@ -13,7 +13,7 @@ (codata function [io]) ["&" host #+ jvm-import class: interface: object] - (math ["R" random]) + ["R" random] pipe) lux/test) diff --git a/stdlib/test/test/lux/lexer.lux b/stdlib/test/test/lux/lexer.lux index fc51deafd..7e7408428 100644 --- a/stdlib/test/test/lux/lexer.lux +++ b/stdlib/test/test/lux/lexer.lux @@ -12,7 +12,7 @@ text/format [char "C/" Eq<Char>] (struct [list])) - (math ["R" random]) + ["R" random] pipe ["&" lexer]) lux/test) diff --git a/stdlib/test/test/lux/macro/ast.lux b/stdlib/test/test/lux/macro/ast.lux index a10486edc..61127bef7 100644 --- a/stdlib/test/test/lux/macro/ast.lux +++ b/stdlib/test/test/lux/macro/ast.lux @@ -11,7 +11,7 @@ (data [text "T/" Eq<Text>] text/format [number]) - (math ["R" random]) + ["R" random] pipe (macro ["&" ast])) lux/test) diff --git a/stdlib/test/test/lux/macro/poly/eq.lux b/stdlib/test/test/lux/macro/poly/eq.lux index 983d2da69..4f4c296d6 100644 --- a/stdlib/test/test/lux/macro/poly/eq.lux +++ b/stdlib/test/test/lux/macro/poly/eq.lux @@ -13,7 +13,7 @@ [number "i/" Number<Int>] [char] [text]) - (math ["R" random]) + ["R" random] pipe [macro] (macro [poly #+ derived:] diff --git a/stdlib/test/test/lux/macro/poly/functor.lux b/stdlib/test/test/lux/macro/poly/functor.lux index c25f536e9..23d42c78d 100644 --- a/stdlib/test/test/lux/macro/poly/functor.lux +++ b/stdlib/test/test/lux/macro/poly/functor.lux @@ -14,7 +14,7 @@ [number "i/" Number<Int>] [char] [text]) - (math ["R" random]) + ["R" random] pipe [macro] (macro [poly #+ derived:] diff --git a/stdlib/test/test/lux/macro/poly/text-encoder.lux b/stdlib/test/test/lux/macro/poly/text-encoder.lux index e106162a3..154d9ab10 100644 --- a/stdlib/test/test/lux/macro/poly/text-encoder.lux +++ b/stdlib/test/test/lux/macro/poly/text-encoder.lux @@ -13,7 +13,7 @@ [number "i/" Number<Int>] [char] [text]) - (math ["R" random]) + ["R" random] pipe [macro] (macro [poly #+ derived:] diff --git a/stdlib/test/test/lux/macro/syntax.lux b/stdlib/test/test/lux/macro/syntax.lux index 17d4c935b..aaa042fb3 100644 --- a/stdlib/test/test/lux/macro/syntax.lux +++ b/stdlib/test/test/lux/macro/syntax.lux @@ -16,7 +16,7 @@ [ident] [error #- fail]) (codata function) - (math ["R" random]) + ["R" random] pipe [compiler] (macro [ast] diff --git a/stdlib/test/test/lux/math.lux b/stdlib/test/test/lux/math.lux index 9765d69d8..1ffba0aa2 100644 --- a/stdlib/test/test/lux/math.lux +++ b/stdlib/test/test/lux/math.lux @@ -14,7 +14,7 @@ (struct [list "List/" Fold<List> Functor<List>]) [product]) (codata function) - (math ["R" random]) + ["R" random] pipe ["&" math]) lux/test) diff --git a/stdlib/test/test/lux/math/complex.lux b/stdlib/test/test/lux/math/complex.lux index fad780410..f9743e9ec 100644 --- a/stdlib/test/test/lux/math/complex.lux +++ b/stdlib/test/test/lux/math/complex.lux @@ -15,7 +15,7 @@ [product]) (codata function) [math] - (math ["R" random]) + ["R" random] pipe ["&" math/complex]) lux/test) diff --git a/stdlib/test/test/lux/math/ratio.lux b/stdlib/test/test/lux/math/ratio.lux index 55e6fe920..0cdbf4f93 100644 --- a/stdlib/test/test/lux/math/ratio.lux +++ b/stdlib/test/test/lux/math/ratio.lux @@ -14,7 +14,7 @@ (struct [list "List/" Fold<List> Functor<List>]) [product]) (codata function) - (math ["R" random]) + ["R" random] pipe ["&" math/ratio "&/" Number<Ratio>]) lux/test) diff --git a/stdlib/test/test/lux/math/simple.lux b/stdlib/test/test/lux/math/simple.lux index 25ae00d23..bfa313708 100644 --- a/stdlib/test/test/lux/math/simple.lux +++ b/stdlib/test/test/lux/math/simple.lux @@ -14,7 +14,7 @@ (struct [list "List/" Fold<List> Functor<List>]) [product]) (codata function) - (math ["R" random]) + ["R" random] pipe ["&" math/simple]) lux/test) diff --git a/stdlib/test/test/lux/pipe.lux b/stdlib/test/test/lux/pipe.lux index 92ca205b8..86f45079f 100644 --- a/stdlib/test/test/lux/pipe.lux +++ b/stdlib/test/test/lux/pipe.lux @@ -13,7 +13,7 @@ identity [text "T/" Eq<Text>]) (codata function) - (math ["R" random]) + ["R" random] pipe) lux/test) diff --git a/stdlib/test/test/lux/regex.lux b/stdlib/test/test/lux/regex.lux index 00be2c2d8..281e6dbad 100644 --- a/stdlib/test/test/lux/regex.lux +++ b/stdlib/test/test/lux/regex.lux @@ -14,7 +14,7 @@ [compiler] (macro [ast] ["s" syntax #+ syntax:]) - (math ["R" random]) + ["R" random] pipe [lexer] ["&" regex]) diff --git a/stdlib/test/test/lux/type.lux b/stdlib/test/test/lux/type.lux index 4bf5de8ae..1670f3146 100644 --- a/stdlib/test/test/lux/type.lux +++ b/stdlib/test/test/lux/type.lux @@ -12,7 +12,7 @@ [number] maybe (struct [list])) - (math ["R" random]) + ["R" random] pipe ["&" type]) lux/test) diff --git a/stdlib/test/test/lux/type/auto.lux b/stdlib/test/test/lux/type/auto.lux index f759827f0..fdc1ec51a 100644 --- a/stdlib/test/test/lux/type/auto.lux +++ b/stdlib/test/test/lux/type/auto.lux @@ -15,7 +15,7 @@ [bool "B/" Eq<Bool>] maybe (struct [list])) - (math ["R" random]) + ["R" random] pipe [type] type/auto) diff --git a/stdlib/test/test/lux/type/check.lux b/stdlib/test/test/lux/type/check.lux index 817f40273..2dadd92f2 100644 --- a/stdlib/test/test/lux/type/check.lux +++ b/stdlib/test/test/lux/type/check.lux @@ -12,7 +12,7 @@ [number] maybe (struct [list])) - (math ["R" random]) + ["R" random] pipe [type] ["&" type/check]) |