Skip to content

PureScript 0.14 and Semigroup removal

Compare
Choose a tag to compare
@fehrenbach fehrenbach released this 20 Mar 10:02
· 13 commits to master since this release
  • Misc updates for PureScript 0.14

  • Remove left-biased Semigroup instance from HashMap

    If you really need a Semigroup instance right now, use SemigroupHashMap which has an unbiased Semigroup instance that defers to the Semigroup instance of the value type. To recover the left-biased behaviour, use SemigroupHashMap k (First v) in place of HashMap k v.
    If you don't need a Semigroup instance right now, don't bother. A future version will add the unbiased Semigroup instance to HashMap and remove SemigroupHashMap again.