News for hackers. Stuff that matters.
Re:Dex: A research language for array processing in the Hask... by newen on Saturday October 26, 2019 @11:29PM (#21367733)

    vecs.i.(j,k) = images.i.j.k
This converts a 3D array to a 2D array, with the indices of the 2nd dimension being tuples. This syntax is really nice.

If the array shapes are types though, then what happens when you have to read a matrix from file and you don't know the shape of the matrix?

Re:Dex: A research language for array processing in the Hask... by augustss on Sunday October 27, 2019 @04:15AM (#21368455)
You use an existential type.