计算机科学 > 程序设计语言
[提交于 2026年11月3日]
标题:Properly defining Erlang lists
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We define list types, distinguishing proper lists, which end in the empty list, from improper lists, which may end in any value. Both are encoded as recursive types of cons cells, implemented in etylizer. This work found one OTP compiler bug. We propose a one-line sound improvement to Dialyzer's list handling that finds six instances of dead code in the OTP code base. We compare BEAM VM type checkers and catalogue how other languages design lists and cons cells.
提交历史
来自:Albert Schimpf[v1] 2026年11月3日 星期二 14:02:24 UTC (483 KB)