attempt(() => JSON.parse(frame)) .mBind(json => maybe(TradeDecoder.decode(json))); // a throw is just nothing — for edges where absence is the only fact Copy
attempt(() => JSON.parse(frame)) .mBind(json => maybe(TradeDecoder.decode(json))); // a throw is just nothing — for edges where absence is the only fact