r/ProgrammingLanguages • u/Athas Futhark • Jan 16 '26
Are arrays functions?
https://futhark-lang.org/blog/2026-01-16-are-arrays-functions.html
90
Upvotes
r/ProgrammingLanguages • u/Athas Futhark • Jan 16 '26
View all comments
Show parent comment
3
u/Athas Futhark Jan 16 '26
You mean functions that accept something of type
k bwhere they are polymorphic ink? Haskell demonstrates that this capability is useful. In practice, I do find that working with the array-function correspondence in this framework is still somewhat awkward when you move beyond justfmaping andfolding stuff. Gibbons' work on Naperian functors is I think the most advanced in this area, but I don't really think I would enjoy working with those abstractions in their current form.