Paketname | libghc6-convertible-dev |
Beschreibung | Typeclasses and instances for converting between types, GHC package |
Archiv/Repository | Offizielles Ubuntu Archiv lucid (universe) |
Version | 1.0.9-1 |
Sektion | universe/libdevel |
Priorität | optional |
Installierte Größe | 3676 Byte |
Hängt ab von | libghc6-base-dev-4.2.0.0-73995, libghc6-bytestring-dev-0.9.1.5-2d4a9, libghc6-containers-dev-0.3.0.0 |
Empfohlene Pakete | |
Paketbetreuer | Ubuntu Developers |
Quelle | haskell-convertible |
Paketgröße | 548052 Byte |
Prüfsumme MD5 | 9d9eb540e1db43a3dc2e2776f980c729 |
Prüfsumme SHA1 | b22f31fd17fe1fcd57e7626f27bc19dd93d81c68 |
Prüfsumme SHA256 | aaa8dd5c49c63fa9c2fd65a9b8019855bf6ff0fe2ae77353798f22787b0d3851 |
Link zum Herunterladen | libghc6-convertible-dev_1.0.9-1_i386.deb |
Ausführliche Beschreibung | convertible provides a typeclass with a single function
that is designed to help convert between different types: numeric
values, dates and times, and the like. The conversions perform bounds
checking and return a pure Either value. This means that you need
not remember which specific function performs the conversion you
desire.
.
Also included in the package are optional instances that provide
conversion for various numeric and time types, as well as utilities
for writing your own instances.
.
Finally, there is a function that will raise an exception on
bounds-checking violation, or return a bare value otherwise,
implemented in terms of the safer function described above.
.
Convertible is also used by HDBC 2.0 for handling marshalling of
data to/from databases.
.
Convertible is backed by an extensive test suite and passes tests
on GHC and Hugs.
|