Skip to content
Sections
>> Trisquel >> Paquets >> aramo >> haskell >> libghc-flexible-defaults-dev
etiona  ] [  nabia  ] [  aramo  ]
[ Paquet source : haskell-flexible-defaults  ]

Paquet : libghc-flexible-defaults-dev (0.0.3-1build2)

generate default function implementations for complex type classes

Template Haskell code to implement default implementations for type-class functions based on which functions are already implemented. Currently extremely crude but still fairly effective.

When defining a type class with many functions, each of which can be implemented based on arbitrary subsets of the others, the standard default-implementation concept breaks down quite badly. This library provides a system by which more complex rules can be described for choosing default implementations based on which ones the user supplies. These implementations can additionally be given "suitability scores", so that when multiple possible choices could be made, the library can choose the "best" one.

This package provides a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.

Autres paquets associés à libghc-flexible-defaults-dev

  • dépendances
  • recommandations
  • suggestions

Télécharger libghc-flexible-defaults-dev

Télécharger pour toutes les architectures proposées
Architecture Taille du paquet Espace occupé une fois installé Fichiers
amd64 54,3 ko513 ko [liste des fichiers]
arm64 59,6 ko668 ko [liste des fichiers]
armhf 58,3 ko532 ko [liste des fichiers]
ppc64el 68,3 ko746 ko [liste des fichiers]