cogent
cogent copied to clipboard
Shallow embedding of ArrayPut and ArrayTake
This PR implements the shallow embedding of ArrayPut, which is enough to compile the shallow embedding the led driver..
This PR also implements the shallow embedding of ArrayTake, but it couldn't be tested, as it seems the compilation of ArrayTake is not yet implemented (yielding TODO fvIP: PArrayTake unimplemented)
Many of the missing things are on my wip-reftypes branch. Since on master there's no typechecking for array operations, many things were left out as they weren't needed or didn't make sense.