Are there any functional programming languages designed for code golfing? I know that golfscript and CJam fulfill the same category for stack based, but I couldn't find a functional code golfing language.

  • 7
    \$\begingroup\$ I'm voting to close this question as off-topic because it has an answer on the meta site: codegolf.meta.stackexchange.com/questions/6918/… \$\endgroup\$
    – mbomb007
    Jun 2, 2017 at 19:39
  • 3
    \$\begingroup\$ @mbomb007 Except that it's limited to languages created by PPCG users... (and contains neither Clip nor Husk but has several languages claiming they're functional although they aren't). \$\endgroup\$ Jun 2, 2017 at 19:52
  • 2
    \$\begingroup\$ Jelly is tacit, and tacit implies functional, doesn't it? \$\endgroup\$
    – Luis Mendo
    Jun 2, 2017 at 20:12
  • 4
    \$\begingroup\$ @mbomb007 It's not a question about PPCG so it definitely doesn't belong on meta. Whether it belongs on main is arguable, but since we allow other kinds of non-challenge questions about golfing in general (including golfing tips, questions about golfing language design and questions about challenge writing) I don't think this is a bad fit for main. \$\endgroup\$ Jun 2, 2017 at 21:17
  • 4
    \$\begingroup\$ @MDXF The C language is purely functional \$\endgroup\$
    – cat
    Jun 3, 2017 at 10:34

3 Answers 3



Husk is a pure functional golfing language created by me and Leo and inspired by Haskell. It combines a rigid type system, type inference and extensive overloading. Functions are first class values and can be manipulated as easily as other data. Development of Husk is ongoing and many features are still missing, but you can try it out at TIO. We also have a SE chatroom for the language.



cQuents is an inpure functional golfing language. It incorporates a lot of functional programming concepts, notably lazy evaluation and infinite lists, since it's specifically designed to do well in related challenges.



Pyth is a functional language that transpiles to python


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.