These are chat archives for evhub/coconut

19th
Dec 2017
Penn Taylor
@penntaylor
Dec 19 2017 04:10

Any plans to add syntax for sum types? Right now I'm doing the following, which works, but doesn't make the relationship as obvious as I'd like:

class Maybe:
    pass
data Nothing() from Maybe
data Just(a) from Maybe

I realize this would only be of benefit to people who are also using mypy to check types.

Arne Bachmann
@ArneBachmann
Dec 19 2017 13:15
@evhub If you intend to compile a list of projects using Coconut, here is mine: https://github.com/ArneBachmann/sos/