| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: ghc-some | Distribution: openSUSE Tumbleweed |
| Version: 1.0.6 | Vendor: openSUSE |
| Release: 5.4 | Build date: Sun Dec 22 19:59:27 2024 |
| Group: Unspecified | Build host: reproducible |
| Size: 284045 | Source RPM: ghc-some-1.0.6-5.4.src.rpm |
| Packager: https://bugs.opensuse.org | |
| Url: https://hackage.haskell.org/package/some | |
| Summary: Existential type: Some | |
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.
BSD-3-Clause
* Sun Dec 22 2024 Peter Simons <psimons@suse.com>
- Update some to version 1.0.6 revision 2.
Upstream has revised the Cabal build instructions on Hackage.
* Mon May 13 2024 Peter Simons <psimons@suse.com>
- Update some to version 1.0.6 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
* Fri May 03 2024 Peter Simons <psimons@suse.com>
- Forgot to update copyright header in spec file after last change.
* Tue Mar 12 2024 Peter Simons <psimons@suse.com>
- Drop unnecessary dependencies.
* Tue Oct 24 2023 Peter Simons <psimons@suse.com>
- Update some to version 1.0.6.
[#] 1.0.6
- Add instances for `SSymbol`, `SNat` and `SChar` from `base >=4.18.0.0'
* Wed Oct 11 2023 Peter Simons <psimons@suse.com>
- Update some to version 1.0.5 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
* Thu Mar 30 2023 Peter Simons <psimons@suse.com>
- Updated spec file to conform with ghc-rpm-macros-2.5.2.
* Wed Mar 15 2023 Peter Simons <psimons@suse.com>
- Update some to version 1.0.5.
[#] 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.
* Wed Oct 05 2022 Peter Simons <psimons@suse.com>
- Update some to version 1.0.4.1.
[#] 1.0.4.1
- Drop support for GHC before 8.6
* Wed Aug 10 2022 Peter Simons <psimons@suse.com>
- Update some to version 1.0.4 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
* Fri Jun 17 2022 Peter Simons <psimons@suse.com>
- Update some to version 1.0.4.
[#] 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`
/usr/lib64/ghc-9.12.2/lib/libHSsome-1.0.6-HPQVkUWWpS3EzQtWEod0NX-ghc9.12.2.so /usr/share/licenses/ghc-some /usr/share/licenses/ghc-some/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Wed Oct 8 23:32:53 2025