Commit Graph

20 Commits

Author SHA1 Message Date
Pekka Laiho
c4e0a991c6 remove first-or-null, not required because first returns null already 2020-12-24 08:18:43 +07:00
Pekka Laiho
45bc9ec2ef change calc.mad to use util.mad 2020-12-22 10:17:35 +07:00
Pekka Laiho
b1c1eb5cf1 add util.mad with some utility functions 2020-12-22 10:16:41 +07:00
Pekka Laiho
bf726a1b5e macro for using λ instead of fn for lambdas 2020-12-15 22:07:12 +07:00
Pekka Laiho
56d9a1ff90 changes to print functions, other small changes 2020-12-14 08:22:22 +07:00
Pekka Laiho
cf75c6eefd add while, remove loop 2020-12-12 14:53:48 +07:00
Pekka Laiho
dc6c206f4e add mtime, move timer from core to madlisp 2020-12-11 21:30:34 +07:00
Pekka Laiho
648e5a9554 add stuff for dumping code from memory into files 2020-12-08 20:51:25 +07:00
Pekka Laiho
212c0780fd update factorial functions 2020-12-08 17:00:39 +07:00
Pekka Laiho
1151ebe336 better Fibonacci function 2020-12-07 09:38:39 +07:00
Pekka Laiho
732b923552 change examples to use defn macro 2020-12-06 11:04:04 +07:00
Pekka Laiho
02e5176612 ability to set docstrings for functions 2020-12-05 10:39:58 +07:00
Pekka Laiho
1e33e4d146 change syntax of readline functions 2020-10-18 14:45:49 +07:00
Pekka Laiho
c0fb53742a capitalize constants 2020-10-18 13:32:20 +07:00
Pekka Laiho
be9ffae2e8 add calc example 2020-10-18 11:15:51 +07:00
Pekka Laiho
94a69e7b76 use inc/dec for factorial 2020-10-17 14:18:16 +07:00
Pekka Laiho
475ddf5a20 fibonacci improvements 2020-10-17 14:15:14 +07:00
Pekka Laiho
200d9b3161 add comments 2020-06-08 09:55:29 +07:00
Pekka Laiho
75861bf1c7 factorial functions 2020-06-06 16:25:49 +07:00
Pekka Laiho
fd5e846f2f Fibonacci numbers 2020-06-06 15:59:05 +07:00