export function just(value) { return { isJust: ()=>true, get: ()=>value }; } export function nothing() { return { isJust: ()=>false }; }