For those of you who were there this morning while I was struggling with the prime number function, here's the solution that I got:
(FYI, the add and sub functions have nothing to do with it)
I am aware that this might be a very naive solution which is neither optimal nor purely functional, so please feel free to make suggestions (forks ?) on how I can make this better :)
Anyways, thank you all for coming today!
I'm glad we got out of our comfort zone and started learning a completely new approach to problem solving.
Here's our code from today:
See you all in two weeks for some more mind-blowing programming in Common LISP