You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.
This PR adds Either.fold, Either.left, Either.right, and Either.unwrap functions with associated documentation. These definitions also appear in #57 (not yet reviewed/merged), but they did not include documentation in that PR. Tests are omitted, since the definitions are very simple and obviously correct.
Code review
The changes summarized below are available for you to review, using the following command:
Either.fold : ∀ o 𝕖 i1 i. (i1 ->{𝕖} o) -> (i ->{𝕖} o) -> Either i1 i ->{𝕖} o (+3 metadata)
Either.fold.doc : Doc (+2 metadata)
Either.left : Either l r -> Optional l (+3 metadata)
Either.left.doc : Doc (+2 metadata)
Either.right : Either l r -> Optional r (+3 metadata)
Either.right.doc : Doc (+2 metadata)
Either.unwrap : Either a a -> a (+3 metadata)
Either.unwrap.doc : Doc (+2 metadata)
The text was updated successfully, but these errors were encountered:
This PR adds Either.fold, Either.left, Either.right, and Either.unwrap functions with associated documentation. These definitions also appear in #57 (not yet reviewed/merged), but they did not include documentation in that PR. Tests are omitted, since the definitions are very simple and obviously correct.
Code review
The changes summarized below are available for you to review, using the following command:
Added definitions:
The text was updated successfully, but these errors were encountered: