You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add transpose and transpose' to NonEmptyArray (#228)
* Add transpose to Data.Array
Implementation courtesy of Jordan Martinez.
* Update CHANGELOG
* Improve layout of doc comments
* Add transpose and transpose' to NonEmptyArray
* Add dependency on safe-coerce
and implement the functions that transform 2D arrays between Array and
NonEmptyArray representations to use coerce.
* inline what were the two coerce2D functions
* Alter the signature of transpose'
so that it returns a Maybe. This is necessary in order to handle the
edge case of transpose` (NonEmptyArray [ [] ]).
0 commit comments