函数式编程中的“全麦”是什么?
有人能给个明确的解释吗?什么是函数式编程领域的全面编程。我所发现的是全麦是
关注整个数据结构而不是其元素
,但如何对其进行归档? (Scala 或 Ocaml 等语言的代码示例非常理想。)
Can anybody give a clear explanation? What is a wholemeal programming in functional programming area. All I've found is that wholemeal is a
focusing on entire data structures rather than their elements
but how can it be archived?
(Code examples in such languages as Scala or Ocaml are very desirable.)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我还发现了这一点
另请参阅 (http://www.comlab .ox.ac.uk/ralf.hinze/publications/ICFP09.pdf)
I also found this
See also (http://www.comlab.ox.ac.uk/ralf.hinze/publications/ICFP09.pdf)
我总是发现 Hutton/Bird Sudoku 求解器是全麦编程的一个很好的例子:http: //www.cs.nott.ac.uk/~gmh/sudoku.lhs
相当多的功能性珍珠(Code Monkey 引用的 Bird 优秀书籍和此处提供:http://www.haskell.org/haskellwiki/Research_papers/Functional_pearls )可能也会有启发性。
I always found the Hutton/Bird Sudoku solver a good example of wholemeal programming: http://www.cs.nott.ac.uk/~gmh/sudoku.lhs
A fair number of functional pearls (both that in Bird's excellent book that Code Monkey cites and those available here: http://www.haskell.org/haskellwiki/Research_papers/Functional_pearls) will probably also be instructive.