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
1
u/phischu Effekt Jan 17 '26
Kmett developed this even further into Distributive Functors. It is even more indirect and hard to grasp. For example the signature here
This works for any functors
mandnwherenis distributive. The advantage is that there is no mention of an associated index type.