Fork of array for building with hs-gen-iface