llh911001 / mostly-adequate-guide-chinese

函数式编程指南中文版
https://llh911001.gitbook.io/mostly-adequate-guide-chinese
Other
2.49k stars 330 forks source link

第七章 "自由定理" 中的 "free" 是否应该翻译为 "免费的" ? #55

Open muelleriilar opened 1 year ago

muelleriilar commented 1 year ago
  1. 已经google过,除本文之外没有自由定理的解释
  2. 文中提到 Wadler 关于此主题的论文

    论文标题:theorems for free 摘要:From the type of a polymorphic function we can derive a theorem that it satisfies. Every Function of the same type satisfies the same theorem. This provides a free source of useful theorems, courtesy of Reynolds' abstraction theorem for the polymorphic lambda calculus.

  3. 原文标题:Free as in Theorem 可以翻译成免费的
  4. 原文:"不用写一行代码你也能理解这些定理,它们直接来自于类型本身。" 译为免费的更符合上下文
llh911001 commented 1 year ago

是的,你是对的,确实译为“免费定理”更加合适。

另外,扯远一点多说几句: