Dear Language Designers: Please Copy `Where` from Haskell 2 years ago (kiru.io) 3 comments kiru_io Reply Add to library mrkeen 2 years 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. yawpitch 2 years ago As you appear to be the author, line 3 of the first code example has a “qsort” where a “quickSort” should be. kiru_io 2 years ago Thx! Just fixed it.
mrkeen 2 years 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.
yawpitch 2 years ago As you appear to be the author, line 3 of the first code example has a “qsort” where a “quickSort” should be. kiru_io 2 years ago Thx! Just fixed it.
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.
As you appear to be the author, line 3 of the first code example has a “qsort” where a “quickSort” should be.
Thx! Just fixed it.