[Haskell-beginners] multidimensional data

Barry DeZonia bdezonia at gmail.com
Mon Apr 22 21:25:47 UTC 2019


I've played with Haskell on and off for a number of years. I have a
question that isn't directly related to Haskell only but to functional
programming. Sorry if this is off topic.

In Haskell, how would you represent a 5 dimensional data structure of
numeric values? Imagine a dataset with axes x, y, z, channel, and time. Is
there an easy way to represent this in the data that doesn't run into all
kinds of memory limits? How would you map the data to a new state such that
the new state had pixel (1000, 2000, 100, 1, 20) set to 53?

Thanks for any info.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20190422/b4e57354/attachment.html>


More information about the Beginners mailing list