More natural APIs. With currying, APIs were designed around what was most convenient to partially apply, even if it bucked larger programming trends. For example, to get the nth element of a list l, we’d write (index n l) because currying the index is more useful than currying the list. But every other language writes something like l[n], l.get(n), (elt l n), etc. Fixed arity frees API design from these constraints.
Что думаешь? Оцени!
。关于这个话题,line 下載提供了深入分析
Be the first to know!
2026年3月12日,呼和浩特,老年学员在呼和浩特市玉泉区老年大学绘画课上交流国画技艺。(视觉中国|图)
Что думаешь? Оцени!