proposal: Add Result<T, E> type · Issue #88 · saneyuki/option-t.js

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,>