r/ProgrammingLanguages • u/Athas Futhark • Mar 25 '26
How should property-based tests be defined in Futhark?
https://futhark-lang.org/blog/2026-03-25-property-based-testing.html
17
Upvotes
r/ProgrammingLanguages • u/Athas Futhark • Mar 25 '26
View all comments
Show parent comment
2
u/Athas Futhark Mar 25 '26
The property testing tool is not part of the compiler itself, and the compiler must not be modified in order to support it, except to add generally useful (and simple) facilities. This approach to dogfooding is important to ensure that the language presents a sufficiently flexible interface to cater to most needs.