Y Not – Adventures in Functional Programming (2012)
confreaks.com
confreaks.com
>If you want to honor @jimweirich, treat everyone like they're your best friend, smart, and fascinating. That's how he lived.
https://thestrangeloop.com/sessions/y-not-adventures-in-func...
It was hands down the best talk at the conference that year. RIP.
Edit: 2013 => 2012
(@\fact\n \n==n <= n 0 1 (* n (fact (- n 1))))
(The \n==n forces an eager evaluation, to avoid building a tower of deferred operations with large n.)The symbol "fact" is arbitrary, e.g. you could say this instead:
(@\loop\n \n==n <= n 0 1 (* n (loop (- n 1))))
To define a name "fact" for that function, it's: \fact = (@\loop\n \n==n <= n 0 1 (* n (loop (- n 1))))Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich (uploaded by Confreaks):