newEitherLeft

Create a new either< L, R > value.

Parameters:

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

Returns:

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

Usages:

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