Skip to content

v4.0.0

Compare
Choose a tag to compare
@garyb garyb released this 29 Mar 00:46
· 33 commits to master since this release
  • Updated for PureScript 0.11
  • The library has been drastically simplified to focus on its core use; validating and extracting data from foreign values. This involves changes such as:
    • Removal of IsForeign / AsForeign classes
    • Removal of parseJSON as this library is not intended for general JSON parsing
  • New functions were added for readNull, readUndefined, readNullOrUndefined rather than using the newtypes to direct IsForeign choice as it was before
  • The (!) index/property reading operator has been enhanced to work with Foreign or F Foreign on the left hand side, allowing for chained property reads