Hello,

Is there any interface to mmap(2) available? Something that behaves like
an immutable array would be great.

An mmap may have a signature like

mmap :: Ix a, ?? b => Handle -> IO (Array a b)

I've no idea what types should be allowed for b. It has to be some fixed
size type, e.g. Int, but this would require the mmapped file's size to be
a multiple of the size of Ints.

Bye,
        Kili

Reply via email to