Skip to content

Princess 0.3.10

Pre-release
Pre-release
Compare
Choose a tag to compare
@Victorious3 Victorious3 released this 06 Feb 19:57
· 153 commits to breakage since this release

Breaking changes ahead!

  • Change struct initializer to []
  • Removed the ability to initalize struct elements by index
  • Change closure types to use the new tuple syntax for arguments and return types
  • Change array access syntax to arr(x) and arr(x) = v. This is done using apply and update
  • Add tuples using the new initalizer syntax let a: [int, double] = [10, 10.5]
  • Tuples convert from and to arrays depending on if the elements are compatible with each other
  • Multiple return types can also be defined using the tuple syntax in function definitions
  • Add anonymous structs