hackage.haskell.org : colorhash
[Index] [Quick Jump] Package maintainers For package maintainers and hackage trustees Candidates Hashes are an easy way to distinguish between two objects since it is not impossible that two random objects have the same hash, but it is very unlikely. But for humans, a hash is often still not very convenient. Colors are an easier way to distinguish. For example one can make a list of items, and give each of the items a different color based on the hash. This module provides a function rgbHash :: (Hashable a, Floating b, Ord b) => a -> Colour b that can convert any Hashable object to a Colour. The only module, Data.Hashable.Color is compiled with the Safe pragma. You can contribute by making a pull request on the GitHub repository. You can contact the package maintainer by sending a mail to yourfriends@hapytex.eu.
Registry
-
Source
- Homepage
- JSON
- codemeta.json
purl: pkg:hackage/colorhash
Keywords:
bsd3
, library
, web
, Propose Tags
, color
, colorhash
, hash
, hashable
, haskell
, rgb
License: BSD-3-Clause
Latest release: 6 months ago
First release: 9 months ago
Downloads: 28 total
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Funding links: https://www.buymeacoffee.com/hapytex
Last synced: about 1 month ago