proposal: Add Result<T, E> type · Issue #88 · option-t/option-t
original https://doc.rust-lang.org/std/result/enum.Result.html interface import {Option, Some, None} from 'option-t'; type mapFn<T, U> = (v: T) => U; type flatmapOkFn<T, U, E> = (v: T) => Result</t,></t,>