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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Four Lectures on Standard ML (1989) [pdf]

148 点作者 swatson741大约 2 个月前

7 条评论

toolslive大约 2 个月前
Studying SML should be part of the entry examination for programming language designers. It's old, has its warts, but is still vastly superior to most things that came later. (Type inference? check! Pattern matching? check! TCO? check!. Performance ? excellent!, ...)
评论 #43524109 未加载
评论 #43524220 未加载
评论 #43526264 未加载
评论 #43522943 未加载
评论 #43524695 未加载
cantrevealname大约 2 个月前
FYI for everyone: This is not about Machine Learning. It is about a programming language called Standard ML where ML stands for Meta Language[1].<p>[1] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Standard_ML" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Standard_ML</a>
评论 #43523598 未加载
评论 #43523762 未加载
评论 #43523634 未加载
msarnoff大约 2 个月前
My favorite bit of SML trivia: the infix function composition operator is “o” — lowercase letter o — so you can write ‘(f o g)(x)’ just like mathematical notation.
ckmate-king-2大约 1 个月前
Note that these lectures are from 1989, but the definition of Standard ML was revised in 1997. See, e.g., <a href="https:&#x2F;&#x2F;www.smlnj.org&#x2F;sml97.html" rel="nofollow">https:&#x2F;&#x2F;www.smlnj.org&#x2F;sml97.html</a>.
swatson741大约 2 个月前
Defiantly worth studying SML imo. Pattern matching is a cool feature. Although it&#x27;s not as comprehensive as most of the pattern matchers in Lisp. You can&#x27;t match on bitfields, comparisons other than equality by value, etc.<p>Datatypes are just ok. Classes would be better. It&#x27;s sort of strange to represent lists (and everything else) as enumerations. It&#x27;s not really essential or fundamental but I guess that&#x27;s what Lisp is for.
评论 #43526612 未加载
uzername大约 2 个月前
We used SML in my undergrad compilers course. I really loved the language and I started exploring other languages outside of class after that.
trollied大约 2 个月前
My CS degree course used SML as the first language to teach everyone in the first semester. Put everyone on the same level, as it was unlikely people would have prior experience. Also made it easy to teach things like recursion.<p>Really enjoyed it.
评论 #43526308 未加载