Hacker News Clone
new
|
comments
|
show
|
ask
|
jobs
|
submit
|
github repo
login
Dear Language Designers: Please Copy `Where` from Haskell
(
kiru.io
)
2 points
by
kiru_io
2 hours ago
|
hide
|
past
|
web
|
3 comments
| favorite
mrkeen
13 minutes ago
[-]
The only bit I dislike about Haskell's `where` is that it's only in scope for one case of a named function, e.g. in the article only the bottom quicksort had lesser and greater in scope.
reply
yawpitch
2 hours ago
[-]
As you appear to be the author, line 3 of the first code example has a “qsort” where a “quickSort” should be.
reply
kiru_io
2 hours ago
[-]
Thx! Just fixed it.
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
reply