Login
7 branches 0 tags
Ben (X13/Arch) Removed ubuntu-18.04 GH Action 370fb52 3 years ago 840 Commits
nujel / tests / testsuite / module.nuj
[test/add :unbound-variable [try car [test/count!]]]
[test/add :a [let [[mod [module [export a :a]]]]
                  [module/insert :test mod]
                  [import a :test]
                  a]]
[test/add 3 [let [[mod [module [def counter 0]
                         [export count! [fn [] [inc! counter]]]]]]
                  [module/insert :test mod]
                  [require :test]
                  [test/count!]
                  [test/count!]
                  [test/count!]]]