miniblog.
← Back to all posts
Jul 7, 2017 at 20:34
LiSP describes shallow binding, where values are stored on the var rather than in a symbol table. TIL GHC does this!
https://jaseemabid.github.io/2017/07/04/compiler.html
Wilfred Hughes
Related Posts
Apr 19, 2014 at 12:07
I was rather surprised to learn that some lisps have separate types for identifiers and symbols. The difference is subtle.
Wilfred Hughes
Shared words: LiSP, rather, symbol Score: 76
Apr 26, 2021 at 07:26
3
1
TIL you can return values from loops in Rust:
https://doc.rust-lang.org/reference/expressions/loop-expr.html#continue-expressions
I've only ever seen this in Common Lisp / Elisp!
Loop expressions - The Rust Reference
doc.rust-lang.org/reference/expressions/loop-expr.html#continue-expressions
Wilfred Hughes
Shared words: LiSP, values, TIL Score: 73.4
Jun 2, 2018 at 17:24
A really fun function name in Common Lisp: the. It returns the value passed in, as well as checking the type.
https://www.lispworks.com/documentation/HyperSpec/Body/s_the.htm#the
It reads rather nicely: (the integer foo).
CLHS: Special Operator THE
www.lispworks.com/documentation/HyperSpec/Body/s_the.htm#the
Wilfred Hughes
Shared words: LiSP, values, rather Score: 71.8