PureScript 0.14 and Semigroup removal
-
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 ofHashMap 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.