14
\$\begingroup\$

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.

\$\endgroup\$
  • 6
    \$\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 '17 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\$ – Martin Ender Jun 2 '17 at 19:52
  • 2
    \$\begingroup\$ @MDXF I am assuming the definition of a functional language to be one that primarily uses the functional programming paradigm. Although C has functions, it is typically considered to be a procedural programming language. \$\endgroup\$ – musicman523 Jun 2 '17 at 20:41
  • 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\$ – Martin Ender Jun 2 '17 at 21:17
  • 2
    \$\begingroup\$ @MDXF The C language is purely functional \$\endgroup\$ – cat Jun 3 '17 at 10:34
11
\$\begingroup\$

Husk

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.

\$\endgroup\$
0
\$\begingroup\$

Pyth

Pyth is a functional language that transpiles to python

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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