From abbda5e90e4f3d5a10cbe6309298a91dfb931aab Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Mon, 19 Jan 2015 20:15:38 -0400 Subject: [Cleanup] - Removed a lot of useless comments & logging. - Removed the useless test1.lux file. --- src/example/test1.lux | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 src/example/test1.lux (limited to 'src/example/test1.lux') diff --git a/src/example/test1.lux b/src/example/test1.lux deleted file mode 100644 index 8e740eabd..000000000 --- a/src/example/test1.lux +++ /dev/null @@ -1,38 +0,0 @@ - -(* 5 6) - -## My first function definition! -(def (repeat n val) - (if (<=' n 0) - (#Nil []) - (#Cons [val (repeat (-' n 1) val)]))) - -## Testing one, two, three... -(repeat 5 5) - -(def (fold f init inputs) - (case inputs - #( Outer comment #( Inner comment )# )# - (#Nil []) init - (#Cons [head tail]) (fold f (f init head) tail))) - -## It's alive! -(fold * 1 (repeat 5 5)) - -3.14 - -(def pi 3.14) - -pi - -(def (foo x) - (let [y (*' 2 x)] - (+' x y))) - -(foo 10) - -(def bar {#x 10 #y 20}) -bar -(get@ #x bar) -(set@ #z 30 bar) -(remove@ #y bar) -- cgit v1.2.3