Maybe it's a superset of Haskell 98? Modern Haskell has more than two hundred language extensions, a few dozen of which are quite popular. Code that uses those will not in general (ever?) be something you can just drop unchanged into a Curry project.

Some of the extensions (e.g. ViewPatterns, LambdaCase, OverloadedStrings, TupleSections) are basically syntactic sugar, and it's easy to rewrite your code without them. Others (DataKinds, GADTs, TypeFamilies, RankNTypes) let you do things that are impossible otherwise.

On Mon, Dec 16, 2019 at 12:01 PM Volker Wysk <post@volker-wysk.de> wrote:
Hi!

I've read that Curry is a super set of Haskell, except for the type
classes. But some Curry implementations do also include Haskell type
classes.

Does that mean, that Haskell code can easily be used inside Curry
programs? Like C in C++? Is it possible to use all those Haskell
libraries in Curry?

Or, if not, is it very easy to port Haskell to Curry?

Cheers
Volker
_______________________________________________
curry mailing list -- curry@lists.rwth-aachen.de
To unsubscribe send an email to curry-leave@lists.rwth-aachen.de
https://lists.rwth-aachen.de/postorius/lists/curry.lists.rwth-aachen.de


--
Jeff Brown | Jeffrey Benjamin Brown
Website   |   Facebook   |   LinkedIn(spammy, so I often miss messages here)   |   Github