head 1.3; access; symbols pkgsrc-2026Q2:1.3.0.22 pkgsrc-2026Q2-base:1.3 pkgsrc-2026Q1:1.3.0.20 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.3.0.18 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.3.0.16 pkgsrc-2025Q3-base:1.3 pkgsrc-2025Q2:1.3.0.14 pkgsrc-2025Q2-base:1.3 pkgsrc-2025Q1:1.3.0.12 pkgsrc-2025Q1-base:1.3 pkgsrc-2024Q4:1.3.0.10 pkgsrc-2024Q4-base:1.3 pkgsrc-2024Q3:1.3.0.8 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.3.0.6 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.3.0.4 pkgsrc-2024Q1-base:1.3 pkgsrc-2023Q4:1.3.0.2 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.2.0.6 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.4 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.2 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.1.0.8 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.6 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.4 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.2 pkgsrc-2022Q1-base:1.1; locks; strict; comment @# @; 1.3 date 2023.10.25.13.52.16; author pho; state Exp; branches; next 1.2; commitid 25cRi3gMiYn4P0KE; 1.2 date 2023.01.24.18.34.14; author pho; state Exp; branches; next 1.1; commitid upay2f94vLDRbPaE; 1.1 date 2022.02.16.05.04.23; author pho; state Exp; branches; next ; commitid T8gl2WpeKzJBHNsD; desc @@ 1.3 log @devel/hs-some: Update to 1.0.6 1.0.6 * Add instances for SSymbol, SNat and SChar from `base >=4.18.0.0' 1.0.5 * Add EqP and OrdP classes. These are strong versions of Eq1 and Ord1, and on the other hand weaker versions of GEq and GCompare. They are exactly what's needed for Eq and Ord instances of Some. The naming is unfortunate: GShow would be better named ShowP, as it's similar version of Show1. Note: we could add ReadP with readsPrecP :: Int -> ReadS (t a) method, but it will barely have any instances. GRead is different, as it can reify the type index for many types, e.g. for the singletons. In some future there will be major version of some with following breaking changes: - EqP and OrdP will become superclasses of GEq and GCompare - Eq (Some t) will require EqP t, similarly for Ord and OrdP. - GShow will get forall a. Show (f a) superclass. (This will cause removal of Product and Sum instances for base <4.18). To ease future transition you may - Define EqP and OrdP instances for your types. The defaultEq and defaultCompare methods can be used to define eqp and comparep from GEq and GCompare instances respectively. - Move to use GHC.Generics.:*: and :+: instead of Data.Functor.Product and Sum, as these have better Eq and Ord instances. @ text @$NetBSD: distinfo,v 1.2 2023/01/24 18:34:14 pho Exp $ BLAKE2s (some-1.0.6.tar.gz) = c3d06643c98e1184d0ff33531797083f84f1e14beab681e017622fcfa69d1cce SHA512 (some-1.0.6.tar.gz) = 78e2dbf275a77462b644751cb1e422ac771ba166518a812da9fdc9b621fdaaf9b6c3ed1c655623489e1f997ed67f83fa25aa7e57146513a126f01030ebc12c00 Size (some-1.0.6.tar.gz) = 11394 bytes @ 1.2 log @devel/hs-some: Update to 1.0.4.1 1.0.4.1 * Drop support for GHC before 8.6 1.0.4 * Add instances for (:~~:) * Add instances for :+: and :*: * Add defaultGeq :: GCompare f => f a -> f b -> Maybe (a :~: b) * Add defaultGshowsPrec :: Show (t a) => Int -> t a -> ShowS @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.1 2022/02/16 05:04:23 pho Exp $ d3 3 a5 3 BLAKE2s (some-1.0.4.1.tar.gz) = 28f86d427e04608463b48aaba3cc1c429d072793c71d0681e4ce6fc1f6941bfa SHA512 (some-1.0.4.1.tar.gz) = 0a590b71194b318f8b14ec41589f3d066a913c37fd2b7772991cc58b3ad94173c50d1fd8e4a6ab5a4a50f0e4d173b574ef4de127c277053bd58bcfe6b7c2fd3f Size (some-1.0.4.1.tar.gz) = 9371 bytes @ 1.1 log @devel/hs-some: import hs-some-1.0.3 This library defines an existential type Some. data Some f where Some :: f a -> Some f in few variants, and utilities to work with it. If you are unsure which variant to use, use the one in Data.Some module. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 4 BLAKE2s (some-1.0.3.tar.gz) = e158c8b088bcd178a5ff49d7f381858497bcbd8476bbf681cec5964be95b5053 SHA512 (some-1.0.3.tar.gz) = 801dae8079bf658b628e220e083b70c1d8c368c1e6345dd6f4417d5e52c24de29dd7d5cb72fc13bfd0e6c7c3aaf5a44ffd539d40ef43eb36d2060aa66b13a563 Size (some-1.0.3.tar.gz) = 8527 bytes SHA1 (patch-some.cabal) = 6ac8ce953b2b421e46b6c94896540d964fc5705f @