Skip to content

Releases: mattpolzin/Poly

Add Poly15 support

27 Mar 22:14
99e2e8b
Compare
Choose a tag to compare

Add Poly15 type.

Add Poly14 support

27 Mar 18:50
fb90ab2
Compare
Choose a tag to compare

Add support for the Poly14 type.

Add Poly12 and Poly13 Types

23 Aug 22:44
c108e9e
Compare
Choose a tag to compare
Merge pull request #13 from mattpolzin/poly12-poly13

add Poly12 and Poly13 types.

Platformed

17 Nov 22:52
ec466eb
Compare
Choose a tag to compare

Introduce explicit iOS and MacOS platform minimums to the Swift package manifest.

(and again) error printout refinement

16 Feb 07:49
7dd2d0d
Compare
Choose a tag to compare
Merge pull request #10 from mattpolzin/poly-decoding-errors2

make dictionary with string keys a bit more generally recognizable as…

Another refinement to error printing

16 Feb 04:02
ea759f4
Compare
Choose a tag to compare
Merge pull request #9 from mattpolzin/poly-decoding-errors

try to make decoding errors easier to read.

Add Hashable conformances

26 May 06:27
Compare
Choose a tag to compare

All Poly types gain Hashable conformance when all generic types upon which the Poly is specialized are also Hashable.

Add the `allTypes` accessor

05 Mar 17:09
9031b84
Compare
Choose a tag to compare

This accessor can be useful for generating logging based on the types a particular Poly allows.

let typeNames = Poly2<Int, Double, String>.allTypes
  .map { String(describing: $0) }
  .joined(separator: ", ")

Expose two previously internal properties on an error type.

11 Nov 07:42
0c9c082
Compare
Choose a tag to compare
Merge pull request #5 from mattpolzin/expose-more-error-info

Expose more error info

Add `Poly.value` accessor

05 Nov 03:36
18cd995
Compare
Choose a tag to compare

Add accessor on Poly that retrieves a type-erased value.

let either = Either<Int, String>(10)
let value = either.value // type is `Any`