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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Higher-kinded bounded polymorphism in OCaml (2021)

141 点作者 tinyspacewizard10 个月前

3 条评论

skulk10 个月前
&gt; Thus, with type aliases, the type equality problem becomes the higher-order unification problem, which is not decidable.<p>I wonder how much this is a problem in practice, aside from the type-checker taking too long.
评论 #41097428 未加载
munchler10 个月前
I&#x27;m more familiar with F#, so I got stuck at this line:<p><pre><code> type (&#x27;a,&#x27;b) app += List_name : &#x27;a list -&gt; (&#x27;a,list_name) app </code></pre> I understand that app is an extensible type and this line adds a union case called List_name to the type, but the signature of List_name confuses me. If I write (List_name x) is x a list or a function?
评论 #41100726 未加载
评论 #41100729 未加载
评论 #41100743 未加载
tempodox10 个月前
This article is pure gold. Rarely is this stuff explained so well.