Release 0.1.11
·
312 commits
to master
since this release
Additions:
- Ability specify where piped arguments are placed using
_.x |> foo(y, _) == foo(y, x)
- Alternative syntax for
case #default .... You can now just writecase _ .... - Alternative syntax for binding documentation using
///. - Experimental compiler extensions feature, currently used to create procedural macros.
core.misc.any_deep_copy- Ability to explicitly specify tag value for tagged unions.
Variant as value: type, i.e.Foo as 3: i32
Removals:
- Deprecated the use of
#defaultin case statements. Use_instead. - Removed
iter.take_one. Useiter.nextinstead.
Changes:
There are several breaking changes in this release related to core library APIs.
Iterator.nextnow returns? Tinstead of(T, bool)io.StreamusesResult(T, Error)for return types instead of(Error, T)switchover arangeis no longer inclusive by default, since..=exists now.- Enabled optional semicolons by default.
//+optional-semicolonsis no longer necessary.
There are also several non-breaking changes.
- The internal memory layout is different. See pull request #133 for details.