evilsoft / crocks

A collection of well known Algebraic Data Types for your utter enjoyment.
https://crocks.dev
ISC License
1.59k stars 102 forks source link

doc(either): update setPassed example in Left either function #461

Closed rolfst closed 4 years ago

rolfst commented 4 years ago

In case of a Left the object is added as the value of error instead of the value of the property 'a' transferred to 'error'

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling c5960ad6fdff22c432124d9a979430e50a968792 on rolfst:master into bc32f25d345b1798d765b84c01f53f4d9e3de138 on evilsoft:master.