Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
millstone
on Nov 17, 2019
|
parent
|
context
|
favorite
| on:
The Value in Go’s Simplicity
Agreed - a concrete example is the threading macros:
(defn calculate* [] (->> (range 10) (filter odd? ,,,) (map #(* % %) ,,,) (reduce + ,,,)))
This is nominally a library as it can be implemented via the language primitives. But in practice this occupies the same space as Haskell's do-notation, and the learner cannot ignore it. The lack of special syntax becomes an implementation detail.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: