How to create unboxed mutable array instance
let's say I've got the following type : data MyType = Constructor0 | Constructor1 | Constructor2 deriving (Eq,Show,Enum) Is there a way to create one of such instances : MArray (STUArray s) MyType (ST s) MArray IOUarray MyType IO For the moment I store everything as Word8 and I make conversion with (wrapped) fromEnum/to...