Skip to content

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 31 Jul 18:42
· 150 commits to main since this release
6127093
Pyfun 0.4.0

Two dogfooding reports from real programs, and the standard-library sweep
they triggered.

Language: a type declaration can name an imported type; field access
resolves from the base's type; parameters destructure tuples, records and
_; a direct self tail call lowers to a loop.

Standard library: about 115 new members take every module to the F# core
set, and every built-in member carries its description and complexity in
hover and completion.

Fixes: single-file run gives the program its own stdin; a partially applied
lambda closes over its argument; multi-argument callbacks can be effectful
(List.fold could not print); Seq.empty no longer lowers to a TypeError.

Source-incompatible: a dotted extern target whose module prefix cannot be
decided from the text is a compile error naming the extern import to add.