Hello,

Right now I'm using type declarations like:

f :: Int -> [Int]

So f returns a list of Ints.

Is there a way to tell Haskell that a list or array must have exactly (say) 256 elements? I'd love to have Haskell make sure that the array I build is the correct size.

Cheers,
Daniel.
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to