Replace array by Earray.t