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
18
Upvotes
r/ProgrammingLanguages • u/Athas Futhark • Mar 25 '26
View all comments
Show parent comment
2
u/fridofrido Mar 25 '26
I guess at least in some situations it could be easier for the user to read / maintain the tests if the things tested and the tests are next to each other.
i don't think i understand the problem - to me this seems to be a completely surface-level thing. The compiler could insert the individual "attributes" (or whatever signaling mechanism) at a very early stage?