[curry] Re: Haskell compatibility

From: Volker Wysk <post_at_volker-wysk.de>
Date: Mon, 16 Dec 2019 20:59:55 +0100

Hi

I see. But TWO HUNDRED extensions?? =:-|

So it depends on the code, which you want to port to Curry, and
which Haskell extensions it uses, how feasible it is to do that.

Thanks.

Volker

Am Montag, den 16.12.2019, 14:13 -0500 schrieb Jeffrey Brown:
> 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
>
>
_______________________________________________
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:08 CET

This archive was generated by hypermail 2.3.0 : Mi Apr 24 2024 - 07:15:15 CEST