Join Slack
Powered by
I'm trying to express sum types. The equivalent H...
# getting-started
c
cdepillabout
06/13/2016, 2:02 AM
I'm trying to express sum types. The equivalent Haskell code would be something like this:
Copy code
data Envelope e a = Success a | Error e String
Open in Slack
Previous
Next