r/ProgrammingLanguages • 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

9 comments sorted by

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.

1

u/fridofrido Mar 29 '26

well, i would say annotating modules is a generally useful feature, but whatever