TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Dear Language Designers: Please Copy `Where` from Haskell

2 点作者 kiru_io6 个月前

2 条评论

mrkeen6 个月前
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.
yawpitch6 个月前
As you appear to be the author, line 3 of the first code example has a “qsort” where a “quickSort” should be.
评论 #42227184 未加载