Skip to content

2.4.1

Compare
Choose a tag to compare
@musicq musicq released this 20 May 00:36
· 3 commits to main since this release

New Features

  • New API match is added to handle Result value with ease.
let paser = wrap(JSON.parse)

let json = parser.parse('{"a": 1}').match(
  Ok: v => v,
  Err: e => ({error: e})
)

Full Changelog: 2.3.0...2.4.1