2 ms·
Sometimes I wonder if making the top level parentheses optional would go some way towards making Lisp more palatable to other programmers. So (def sum (pa
by UIZealot 9y ago
Sometimes I wonder if making the top level parentheses optional would go some way towards making Lisp more palatable to other programmers. So
(def sum (partial reduce +))
(println (+ 1 (sum [1 2 3])))
becomes:
def sum (partial reduce +)
println (+ 1 (sum [1 2 3]))
- mmalone 9y agoSee https://srfi.schemers.org/srfi-110/srfi-110.html https://srfi.schemers.org/srfi-110/srfi-110.html. No idea why it hasn't shown up in a popular language (or maybe it has and I'm just naive).