本文介绍了在Perl中实现函数式编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图学习像Haskell这样的纯函数式编程语言,因为我来自Perl背景,并且读到Perl也可以实现函数式编程技术。所以很少有人想到:

  • 是否值得在Perl 5中使用它?
  • Perl 6会有所作为吗?
  • 任何人都可以推荐一些在Perl中实现函数式编程技术的代码/示例吗?

    I am trying to learn pure functional programming language like Haskell as I am from Perl background and read that Perl can also implement functional programming techniques. So few questions came in mind:

  • Whether it is worth doing it in Perl 5?
  • Does Perl 6 will make a difference?
  • Can anybody suggest some code/examples implementing functional programming techniques in Perl?

    推荐答案

    阅读。您可以或。它甚至为有经验的Perl程序员提供了见解。

    Read Higher-Order Perl. You can buy it or download for free. It provides insights even to experienced Perl programmers.

    这篇关于在Perl中实现函数式编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

  • 07-16 13:38
    查看更多