diff options
author | Eduardo Julian | 2015-06-20 20:19:02 -0400 |
---|---|---|
committer | Eduardo Julian | 2015-06-20 20:19:02 -0400 |
commit | 5e9e876131901204dd34ce1548a4df3cb6cba95f (patch) | |
tree | 82bb0f7f20fe13f91f15656ed61f28e585b19ced /input/program.lux | |
parent | 082ef348efef7c4f1941c48f94b58e22fea724a4 (diff) |
- The directory for source-code is now named "input".
- Implemented module-caching to avoid the waiting too much during program compilation.
Diffstat (limited to 'input/program.lux')
-rw-r--r-- | input/program.lux | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/input/program.lux b/input/program.lux new file mode 100644 index 000000000..4f329c3fa --- /dev/null +++ b/input/program.lux @@ -0,0 +1,15 @@ +(;lux) + +(def (filter p xs) + (All [a] (-> (-> a Bool) (List a) (List a))) + (case xs + #;Nil + (list) + + (#;Cons [x xs']) + (if (p x) + (list& x (filter p xs')) + (filter p xs')))) + +(_jvm_program args + (println "Hello, world!")) |