v0.2.0
Added
- Hexadecimal (
0x...) and binary (0b...) integer literal notation. - Support for partial type definitions.
- Parameterised types for type aliases and functions (e.g.,
list<t>,#<t>t -> t).
Changed
- Replaced tuple update syntax with spread operator (
...) for more flexible/intuitive merging/updating of tuples for both values and types. - Replaced
typekeyword with::syntax (e.g.,point :: Point[x: int, y: int]). - Changed syntax for calling built-ins to
__add__. - Replaced receive/await operators with a more general 'select' operation (
!(...)) for awaiting multiple processes, receiving messages, and supporting timeouts. - Generalised support for using the ripple operator outside of tuple creation.
Fixed
- Function type compatibility now supports variance (covariant results, contravariant parameters).
npm package: https://www.npmjs.com/package/quiver-web/v/0.2.0