hdgarrood / purescript-sequences

Various efficient-ish sequence types for PureScript.
http://pursuit.purescript.org/packages/purescript-sequences
MIT License
45 stars 22 forks source link

Use coerce where possible #2

Closed hdgarrood closed 9 years ago

hdgarrood commented 9 years ago

There are a bunch of fmap getElem or similar, which are no-ops due to newtypes. Replace these with a call to coerce where possible.