You are here |
lambdaland.org | ||
| | | |
abhinavomprakash.com
|
|
| | | | I first read about the legendary lisp macros in Paul Graham's essay, and since then my whole journey of learning lisp has been driven by a desire to fully understand the power of macros. If you have not heard about the power of lisp macros, here's a quote from one of the creators of Scheme (a lisp) that captures the essence of this power. If you give someone Fortran, he has Fortran. | |
| | | |
gilmi.me
|
|
| | | | ?m.me - Compiling Lisp to JavaScript from scratch in 350 LOC | |
| | | |
ianthehenry.com
|
|
| | | | You've probably seen this Python 101 thing before: @memoized def fib(n): if n <= 1: return n return fib(n - 1) + fib(n - 2) Leaving aside the absurdity of computing Fibonacci numbers recursively, it's a common first introduction to Python decorators and higher-order functions. fib is just a function, and memoized takes that function and returns a new function (or something with a __call__ method) that, you know, memoizes the result. Python's decorators give us a nice notation for writing this, but we cou... | |
| | | |
blog.jakubholy.net
|
|
| | Clojure-related resources and notes.New to Clojure? Check Clojure for beginners first! |