Skip to content

0.3.0

Compare
Choose a tag to compare
@github-actions github-actions released this 06 Aug 21:48
· 360 commits to main since this release
62e990c

Features

  • 52d97b1 pattern matching (#92)

    Here's a sneak peak:

    const result = Alge.match(shape)
      .Circle({ radius: 13 }, () => `Got an unlucky circle!`)
      .Circle((circle) => `Got a circle of radius ${circle.radius}!`)
      .Square({ size: 13 }, () => `Got an unlucky square!`)
      .Square((square) => `Got a square of size ${square.size}!`)
      .done()

    Read more details and examples In the docs.

Chores

  • 62e990c update dependency @swc/core to v1.2.224 (#93)
  • 36de885 update pnpm to v7.9.0 (#94)
  • aa6f8e0 pin dependency @types/lodash.ismatch to 4.4.7 (#96)