aboutsummaryrefslogtreecommitdiff
path: root/source/test2.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/test2.lux25
1 files changed, 0 insertions, 25 deletions
diff --git a/source/test2.lux b/source/test2.lux
deleted file mode 100644
index f2fe02bb8..000000000
--- a/source/test2.lux
+++ /dev/null
@@ -1,25 +0,0 @@
-(require "./util")
-
-(def (print-enum enum)
- (case enum
- #Nil
- (println "")
-
- (#Cons [idx x] enum')
- (do (print "[") (print idx) (print ":") (print x) (print "]") (print " ")
- (print-enum enum'))))
-
-#((def monadic-dup
- (util:exec [foo get-state
- bar get-state
- baz (util:return 1000)]
- (util:return (+ (+ foo bar) baz)))))#
-
-(def (print-map list-map)
- (do (print "{")
- (print (fold concat "" (interpose " " (map show-kv list-map))))
- (println "}")))
-
-## Program
-(def (main args)
- (println "Hello, world!"))