Join GitHub today
Renames Either to Result #62
This pull request renames:
Languages like Rust provide a Result type that has a vocabulary that's closer to the intention of the data structure. Meanwhile, languages like Scala don't provide a monad instance for its
The way Folktale does instances doesn't allow multiple instances to be defined, so we have to specialise the types anyway. And if we're doing that, it's better to use terms that are more useful for people who're trying to figure out what a particular piece of code does.
This is a breaking change from Folktale 1's
Converting from Data.Either to Folktale 2's Result involves: