Skip to content

Releases: z-pattern-matching/z

Official Release

16 Nov 12:30
Compare
Choose a tag to compare

Horray, z is now official! There are a LOT of improvements and changes

string match

07 Apr 23:07
Compare
Choose a tag to compare

now z match strings:

'test'.matches(
    (x = 'testa') => false,
    (x = 'test') => true,
    (x = 'testo') => false,
    function otherwise () { return false }
).should.equal(true)

Alpha

09 Nov 03:03
Compare
Choose a tag to compare
Alpha Pre-release
Pre-release
  • Pattern matching
  • Pattern matching with value comparison (ES6 w/ default parameters only)
  • Helper methods: head, init, last, tail