Skip to content

Releases: fehrenbach/purescript-unordered-collections

v3.1.0: Add `any` function (#34)

08 Mar 16:13
e8a0d0f
Compare
Choose a tag to compare

Add any - a specialized version of Data.Foldable.any. Thanks @flip111!

v3.0.1: Remove 'new' operator when invoking Just

28 Aug 15:18
Compare
Choose a tag to compare

Do not call Just with new. This was a leftover from when we did even dodgier things with Just and Nothing than we do now. Thanks @aranchelk for cleaning it up! This may allow unordered-collections to be used with purescript-backend-optimizer, but I haven't personally tried it.

v3.0.0 for PureScript 0.15

28 May 13:14
Compare
Choose a tag to compare

Switch to PureScript 0.15.

Add (back) Semigroup instance for HashMap. This is the same instance that we already have on the SemigroupHashMap newtype, which will be removed in the future.

Fix Pursuit source links

27 Aug 07:22
Compare
Choose a tag to compare

Big thanks to @mattdiamond for reporting and diagnosing the issue with broken source links from Pursuit.

No code changes.

Fix upsert

23 Aug 17:25
Compare
Choose a tag to compare

Big thanks to @dohse for both finding and fixing the problem.

Safe.Coerce

20 Mar 10:05
Compare
Choose a tag to compare

Adds role declaration to allow coercing HashMap k v to Hashmap k w, if v is coercible to w.
Note that HashMap j v is not safely coercible to HashMap k v, because the Hashable instances on j and k might disagree.

PureScript 0.14 and Semigroup removal

20 Mar 10:02
Compare
Choose a tag to compare
  • 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.

Apply and Bind for HashMap

25 Dec 10:13
68ea3cb
Compare
Choose a tag to compare

Add unions and toUnfoldable to HashSet API

15 Nov 11:57
c2008e1
Compare
Choose a tag to compare

v1.8.3

03 Feb 18:13
Compare
Choose a tag to compare

Avoid compiler warning due to unused kind. Thanks @matoruru!