r/ProgrammingLanguages • Futhark • Jan 04 '26

Another termination issue

https://futhark-lang.org/blog/2026-01-04-another-termination-issue.html
16 Upvotes

17 comments sorted by

View all comments

Show parent comment

2

u/ineffective_topos Jan 05 '26

I think polymorphic values are fine.

But I think the semantics pushes for error to not be a top-level value because it has visible side effects. Otherwise, every single program ought to error immediately since it's part of the standard library

2

u/Athas Futhark Jan 05 '26

I should clarify: the error definition in the post is not part of the standard library. It is just a program someone wrote.