Skip to content

Verse 1.2.0: Types and Tests

Compare
Choose a tag to compare
@benchristel benchristel released this 10 Oct 04:25
· 65 commits to master since this release

Verse now provides a helpful error message if you pass the wrong arguments to a function. A few improvements to the test framework are also included in this release.

  • Anonymous function values are now represented as <function> in error messages etc. (previously, nothing was displayed for these values)
  • Tests that use simulate now work correctly for programs that use state/reducers
  • If the program crashes within a simulator test, the error that caused the crash is displayed.
  • Callingyield perform(...) now returns the current state