Daniel-Diaz / matrix

A Haskell native implementation of matrices and their operations.
BSD 3-Clause "New" or "Revised" License
35 stars 31 forks source link

Added mapPos and applied a few linter suggestions #47

Closed AndreasPK closed 7 years ago

AndreasPK commented 7 years ago

Implemented mapPos similar to the suggestion in https://github.com/Daniel-Diaz/matrix/issues/25 together with a test case.

I also applied a few Linter suggestions. (Using fromMaybe, removed duplicate import and a few redundant braces)