[curry] Re: Haskell compatibility

From: Jeffrey Brown <jeffbrown.the_at_gmail.com>
Date: Mon, 16 Dec 2019 14:13:17 -0500

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_at_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_at_lists.rwth-aachen.de
> To unsubscribe send an email to curry-leave_at_lists.rwth-aachen.de
> https://lists.rwth-aachen.de/postorius/lists/curry.lists.rwth-aachen.de
>


--
Jeff Brown | Jeffrey Benjamin Brown
Website <https://msu.edu/~brown202/> | Facebook
<https://www.facebook.com/mejeff.younotjeff> | LinkedIn
<https://www.linkedin.com/in/jeffreybenjaminbrown>(spammy, so I often miss
messages here) | Github <https://github.com/jeffreybenjaminbrown>



_______________________________________________
curry mailing list -- curry_at_lists.rwth-aachen.de
To unsubscribe send an email to curry-leave_at_lists.rwth-aachen.de
https://lists.rwth-aachen.de/postorius/lists/curry.lists.rwth-aachen.de
Received on Mo Dez 16 2019 - 23:19:01 CET

This archive was generated by hypermail 2.3.0 : Do Apr 25 2024 - 07:15:15 CEST