9
\$\begingroup\$

In accordance with our meta agreement, since one candidate received more votes than the others, we have a new featured language! Throughout April 2022, our Language of the Month will be:

Curry

What's a Language of the Month?

See the meta post for nominations. In short, during April, those who wish to participate should learn (at least the basics of) Curry, and use it to solve challenges. Participation is completely optional, but is anticipated to be fun!

Information about Curry

At first brush Curry just looks like a dialect of site darling Haskell. It has a slightly different basic library, and slightly more powerful pattern matching.

But Curry has something that makes it really interesting. Curry can also do logical programming. Meaning that while Haskell always takes the first available path, Curry will take all paths looking for correct result. You can get the compiler to do the search for you. This is the power behind Prolog combined with the clean expressive functional nature of Haskell.

Not only does this make Curry really unique and interesting as a language, this opens up all sorts of opportunities for golfing. Curry can be logical when it's the best and functional when it's not.

If you're into Haskell or Prolog golf I cannot recommend Curry enough. If you're not so into those but you are interested I think Curry is an excellent way to sample both techniques.

Resources

\$\endgroup\$
3
  • 1
    \$\begingroup\$ Yet another implementation: www-ps.informatik.uni-kiel.de/curry2go \$\endgroup\$
    – alephalpha
    Apr 6, 2022 at 10:35
  • 1
    \$\begingroup\$ @alephalpha I've added that into the post. I have to wonder if that implementation was made entirely for the purposes of that pun. \$\endgroup\$
    – Wheat Wizard Mod
    Apr 6, 2022 at 10:40
  • \$\begingroup\$ heres the official curry report, which contains more details about some of the language syntax and specifications than the tutorial linked here \$\endgroup\$
    – des54321
    Apr 7, 2022 at 0:02

1 Answer 1

2
\$\begingroup\$

List of all Curry answers posted in April 2022

List of relevant tips posted in April 2022

  • add entries in the form:

    [<tip summary>](https://codegolf.stackexchange.com/a/<answer-ID>) by [username](https://codegolf.stackexchange.com/users/<user-ID>)
    

List of relevant challenges posted in April 2022

  • add entries in the form:

    [<challenge title>](https://codegolf.stackexchange.com/a/<answer-ID>) by [username](https://codegolf.stackexchange.com/users/<user-ID>)
    
\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .