tuple-append-instances: Extra instances for the typeclasses in the tuple-append package

[ bsd3, library, utils ] [ Propose Tags ] [ Report a vulnerability ]

A package that defines typeclass instances for the typeclasses defined in the tuple-append package. It defines instances for data types defined in the bytestring, dlist, text and vector package.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0
Dependencies base (>=4.7 && <5), bytestring, dlist, text, tuple-append (>=0.1.0.0), vector [details]
License BSD-3-Clause
Copyright 2022 Willem Van Onsem
Author Willem Van Onsem
Maintainer hapytexteu+gh@gmail.com
Category utils
Home page https://github.com/hapytex/tuple-append-instances#readme
Source repo head: git clone https://github.com/hapytex/tuple-append-instances
Uploaded by wvanonsem90 at 2022-07-04T20:45:23Z
Distributions
Downloads 102 total (6 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-07-04 [all 1 reports]

Readme for tuple-append-instances-0.1.0.0

[back to package description]

tuple-append-instances

Build Status of the package by GitHub actions Hackage version badge

Usage

The package defines instances for the datatypes of the bytestring, dlist, text and vector packages. In the future, more instances might be defined.

Package structure

The package defines modules that start with Data.Tuple.Append.Instances.…. For each package 𝑿, it will define two modules Data.Tuple.Append.Instances.𝑿 and Data.Tuple.Append.Instances.𝑿.Safe. Only if there is no way to define instances for data types that are then safe, the Data.Tuple.Append.Instances.𝑿.Safe module is missing. The Data.Tuple.Append.Instances.𝑿 module will re-export the typeclass instances of the Data.Tuple.Append.Instances.𝑿.Safe module, so it will always contain a superset of typeclass instances.

The Data.Tuple.Append.Instances.Safe module will re-export all instances of the Data.Tuple.Append.Instances.𝑿.Safe modules and is thus considered safe as well, whereas Data.Tuple.Append.Instances re-exports all typeclass instances, and thus is unsafe.

tuple-append-instances is not safe Haskell

The Data.Tuple.Append.Instances.Safe module is safe, and will re-export all typeclass instances that can be defined safely, the Data.Tuple.Append.Instances module also re-exports typeclass instances of data types defined in unsafe modules, so this module is unsafe.

Contribute

You can contribute by making a pull request on the GitHub repository.

You can contact the package maintainer by sending a mail to hapytexeu+gh@gmail.com.