Path to this page:
./
devel/hs-hashable,
Class for types that can be converted to a hash value
Branch: CURRENT,
Version: 1.5.0.0nb2,
Package name: hs-hashable-1.5.0.0nb2,
Maintainer: phoThis package defines a class, Hashable, for types that can be converted to a
hash value. This class exists for the benefit of hashing-based data structures.
The package provides instances for basic types and a way to combine hash values.
Hashable is intended exclusively for use in in-memory data structures.
Hashable does not have a fixed standard. This allows it to improve over time.
Because it does not have a fixed standard, different computers or computers on
different versions of the code will observe different hash values. As
such, hashable is not recommended for use other than in-memory datastructures.
Specifically, hashable is not intended for network use or in applications which
persist hashed values. For stable hashing use named hashes: sha256, crc32,
xxhash etc.
Required to run:[
lang/ghc88]
Required to build:[
pkgtools/cwrappers]
Master sites:
Filesize: 86.975 KB
Version history: (Expand)
- (2025-03-05) Updated to version: hs-hashable-1.5.0.0nb2
- (2025-02-02) Updated to version: hs-hashable-1.5.0.0nb1
- (2025-01-29) Updated to version: hs-hashable-1.5.0.0
- (2024-05-09) Updated to version: hs-hashable-1.4.4.0nb1
- (2024-04-29) Updated to version: hs-hashable-1.4.4.0
- (2023-11-02) Updated to version: hs-hashable-1.4.3.0nb1
CVS history: (Expand)
2025-03-05 04:40:14 by Masatake Daimon | Files touched by this commit (1173) |
Log message:
recursive revbump after patching lang/ghc910
|
2025-02-02 14:06:08 by Masatake Daimon | Files touched by this commit (1173) |
Log message:
Bump all Haskell packages after switching the default compiler.
|
2025-01-29 18:26:39 by Masatake Daimon | Files touched by this commit (2) |
Log message:
devel/hs-hashable: Forgot to commit distinfo and PLIST
|
2025-01-29 17:43:05 by Masatake Daimon | Files touched by this commit (3) |  |
Log message:
devel/hs-hashable: update to hashable-1.5.0.0
## Version 1.5.0.0
* Add `QuantifiedConstraints` superclasses to `Hashable1/2`:
```haskell
class (Eq1 t, forall a. Hashable a => Hashable (t a)) => Hashable1 t where
class (Eq2 t, forall a. Hashable a => Hashable1 (t a)) => Hashable2 t where
```
* Change contexts of `Compose`, `Product` and `Sum` instances.
This and above is the similar change as [CLC proposal \
#10](https://github.com/haskell/core-libraries-committee/issues/10)
* The above changes require `base-4.18.0.0`, so we drop support for GHC prior \
GHC-9.6.5
(The `hashable-1.4` branch will be maintained for time being for older GHC \
users).
* Make `Arg a b` instance behave as `Hashable a` instance.
## Version 1.4.7.0
* Make `arch-native` disabled by default.
## Version 1.4.6.0
* Use GND&DerivingVia to derive `newtype` intances (`Data.Semigroup`, \
`Data.Monoid`, `Identity` etc).
## Version 1.4.5.0
* Drop support for GHCs prior 8.6.5
* Use xxhash for hashing bytestrings and bytearrays.
Note: when compiling binaries for distribution, you may need to disable
`arch-native` flag.
|
2024-05-09 03:32:57 by Masatake Daimon | Files touched by this commit (1137) |
Log message:
Recursive revbump after changing the default Haskell compiler
|
2024-04-29 05:28:32 by Masatake Daimon | Files touched by this commit (4) |
Log message:
devel/hs-hashable: Update to 1.4.4.0
Version 1.4.4.0
Depend on os-string-2 for GHC-9.2+
Support filepath-1.5
|
2023-11-02 07:37:49 by Masatake Daimon | Files touched by this commit (1141) |
Log message:
Revbump all Haskell after updating lang/ghc96
|
2023-10-27 09:07:26 by Masatake Daimon | Files touched by this commit (4) |
Log message:
devel/hs-hashable: Update to 1.4.3.0
Version 1.4.3.0
* Export defaultHashWithSalt and defaultHash.
* Fix issue of tuples with 0 first component causing all-zero state.
* Change hashInt to mix bits more.
|