about summary refs log tree commit diff stats
path: root/lib.fnl
diff options
context:
space:
mode:
authorCase Duckworth2022-07-28 21:36:38 -0500
committerCase Duckworth2022-07-28 21:36:38 -0500
commiteb6164bd523e85180c352d5a5b0a653cfde6f561 (patch)
tree6bac2393207ec9f02d5583a7ee2294ad00dc8bd1 /lib.fnl
parentBegin converting to fennel (diff)
downloadradish-eb6164bd523e85180c352d5a5b0a653cfde6f561.tar.gz
radish-eb6164bd523e85180c352d5a5b0a653cfde6f561.zip
Modularize
This ... doesn't work.
Diffstat (limited to 'lib.fnl')
-rw-r--r--lib.fnl24
1 files changed, 24 insertions, 0 deletions
diff --git a/lib.fnl b/lib.fnl new file mode 100644 index 0000000..a08fcc8 --- /dev/null +++ b/lib.fnl
@@ -0,0 +1,24 @@
1;;; LIB.fnl
2;; Radish library
3
4(local util (require :util))
5
6(local radish {})
7
8(lambda radish.play [?station]
9 (print "play"))
10
11(lambda radish.kill []
12 (print "kill"))
13
14(lambda radish.add [?station]
15 (print "add"))
16
17(lambda radish.del [?station]
18 (print "del"))
19
20(lambda radish.edit [?station]
21 (print "edit"))
22
23radish
24