Release Notes
Added
-
aiken: New
aiken bench
command to run benchmarks. @Riley-Kilgore, @KtorZThe command is very similar to
aiken check
, and will collect and run benchmarks found across the codebase. The output by default is a set of pretty terminal plots for each dimension (mem & cpu) for each test bench. The complete dataset of points can be obtained in a structured (JSON) format by redirecting the output to a file. -
aiken-lang: New
bench
keyword and capabilities to the test framework. @Riley-Kilgore, @KtorZA
bench
is a new type of test that takes in a singleSampler<a> = fn(Int) -> Fuzzer<a>
as parameter, similar to how property-based test receiveFuzzer<a>
. ASampler
is in fact, a scaled Fuzzer which receive a monotically increasing size as parameter. This allows fine-grained control over generated values. Unlike tests, benchmarks can return anything since their output is ignored.Read more about benchmarks in the user manual.
Changed
- aiken-lang: The compiler now raises a warning when attempting to destructure a record constructor without using named fields. See #1084. @KtorZ
- aiken-lang: Fix blueprint schema definitions related to pairs (no longer omit (sometimes) Pairs definitions, and generate them as data List). See #1086 and #970. @KtorZ
- aiken-project: Improve feedback returned when matching tests or modules. See #1092. @KtorZ
- aiken-project: Disambiguate type-alias blueprint definition using module's name. See #1074. @KtorZ
Install aiken 1.1.11
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/aiken-lang/aiken/releases/download/v1.1.11/aiken-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy ByPass -c "irm https://github.com/aiken-lang/aiken/releases/download/v1.1.11/aiken-installer.ps1 | iex"
Install prebuilt binaries into your npm project
npm install @aiken-lang/[email protected]
Install prebuilt binaries via Homebrew
brew install aiken-lang/tap/aiken
Download aiken 1.1.11
File | Platform | Checksum |
---|---|---|
aiken-aarch64-apple-darwin.tar.gz | Apple Silicon macOS | checksum |
aiken-x86_64-apple-darwin.tar.gz | Intel macOS | checksum |
aiken-x86_64-pc-windows-msvc.tar.gz | x64 Windows | checksum |
aiken-x86_64-unknown-linux-musl.tar.gz | x64 MUSL Linux | checksum |