newEitherRight

Create a new either< L, R > value.

Parameters:

No. Type Comments
1 R Value compatible with R of either< L, R >

Returns:

either<L, R> - with value of type R.

Usages:

  • newEitherRight( v:R ) : either<L,R>