Binding
interface Binding<T>{
bind<T,U>(f: MF<T, U> | D<T>, v: any): Pr<U> | Error | boolean;
}
Method Summary
| Public Methods | ||
| public |
bind(f: MF<T, U>|D<T>, v: *): Pr<U> | Error | boolean binds transformation function and underlying value to the monad. |
|
Public Methods
public bind(f: MF<T, U>|D<T>, v: *): Pr<U> | Error | boolean source
binds transformation function and underlying value to the monad.
Params:
| Name | Type | Attribute | Description |
| f | MF<T, U>|D<T> | transformation function. |
|
| v | * | underlying value. |
Return:
| Pr<U> | Error | boolean |