miniblog.
← Back to all posts
Feb 11, 2016 at 08:28
I'm a fan of boolean function names ending with ?, but I saw some Scheme today (define (filter ? xs) ...). Totally confused me at first!
Wilfred Hughes
Related Posts
Jan 6, 2021 at 07:49
1
4
I rather like how Scheme treats boolean literals (#f and #t) as syntactically distinct from normal variables. The syntax feels tidier than overloading variable names. (Though I'm still amused that 0x12 is a valid variable name in emacs lisp!)
Wilfred Hughes
Shared words: boolean, names, Scheme Score: 45.3
Aug 24, 2017 at 11:47
Lisps might have little syntax, but there are still rules you need to learn.TIL about Scheme's define in a function:
https://stackoverflow.com/q/5406064/509706
scheme - Difference between define, let and set! - Stack Overflow
Wilfred Hughes
Shared words: function, Scheme, define Score: 39.6
Aug 15, 2014 at 17:49
.@bruceconnor saw rich-minority today, I was wondering how it differs from diminish other than having a brilliant name?
Wilfred Hughes
Shared words: names, saw, today Score: 38.7