V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
abersheeran
V2EX  ›  程序员

能编译到 Python 的函数式编程语言叫什么?

  •  
  •   abersheeran · Mar 26, 2021 · 2104 views
    This topic created in 1869 days ago, the information mentioned may be changed or developed.

    我在某次 V2EX 的帖子里看到过,当时忘了保存。现在突然想起来再看看发现找不到了。于是发帖求助。

    我的印象里,那是一个 Python 的超集,自带管道、模式匹配等操作,可以编译到 Python 。

    自己谷歌搜过了,没有找到。全是教如何写 fp python 的。

    3 replies    2021-03-27 10:26:19 +08:00
    AndyAO
        1
    AndyAO  
       Mar 26, 2021   ❤️ 2
    Coconut

    Coconut 允许开发人员编写简单而优雅的函数代码,同时使用熟悉的 Python 环境和库。它基本上是 Python 的超集,添加了 Python 语法,并受到 Haskell 、CoffeeScript 、F#和 patterns.py 。这门语言是由埃文·胡宾格写的,他是哈维·穆德学院( Harvey Mudd College )数学和计算机科学专业的本科生。

    Introducing Coconut for making functional programming in Python simpler
    https://hub.packtpub.com/introducing-coconut-for-making-functional-programming-in-python-simpler/
    zhuangzhuang1988
        2
    zhuangzhuang1988  
       Mar 26, 2021
    hy
    LudwigWS
        3
    LudwigWS  
       Mar 27, 2021
    @AndyAO 牛逼
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3763 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 04:46 · PVG 12:46 · LAX 21:46 · JFK 00:46
    ♥ Do have faith in what you're doing.