Releases: mulias/roc-array2d
Releases · mulias/roc-array2d
v0.3.2
v0.3.1
v0.3.0
v0.2.0
Changes
- Expose
Array2D.identity, which was implemented but accidentally kept private - Split out
Index2DandShape2Dmodules - Remove
IndexandShapetypes fromArray2D - Move
isRowStart,isRowEnd,isColStart,isColEndfromArray2DtoIndex2D, change the API to use index and shape as arguments, instead of an index and array. - Update
Index2Dtype to userowandcolinstead ofxandy - Update
Shape2Dtype to userowsandcolsinstead ofdimXanddimY - Change
Array2D.flipXandflipYtoflipRowsandflipCols - Add new functions to
Index2DandShape2Dto cover some cases that came up in advent of code
Important Note
With this release some of the functionality in the Array2D module has been split into two other modules. Roc currently has an open issue related to transative dependencies which means that these additional modules need to be explicitly imported, even if they aren't used in your code.
Example:
packages {
array2d: "https://github.com/mulias/roc-array2d/releases/download/v0.2.0/pmAttjSPjyubNa8XiVH9D3vsDMqHahq_yz81N_tt_UU.tar.br",
}
imports [
array2d.Array2D,
array2d.Shape2D,
array2d.Index2D,
]