Open
Description
The section Pure Error Handling got more confusing during the recent update to ES6:
E.g. it says „ I've skipped the ceremony of creating the Either
superclass“ while actually in the code that superclass is created.
And before Right
and Left
were more similar, e.g. both had a function of
. Now a Left
is created through the little standalone function left
, while a Right
is created through Either.of
. It would be better, to make RIght and Left more similar again, by again giving both a static method of
.
Activity