Alle Optionen
bookworm  ] [  trixie  ] [  sid  ]
[ Quellcode:  ]

Paket: libghc-ghc-typelits-extra-dev (0.4.7-1) [debports]

Links für libghc-ghc-typelits-extra-dev

Screenshot

Debian-Ressourcen:

Quellcode-Paket herunterladen:

Nicht gefunden

Betreuer:

Externe Ressourcen:

Ähnliche Pakete:

Additional type-level operations on GHC.TypeLits.Nat

Operations:

 * Max: type-level max

 * Min: type-level min

 * Div: type-level div

 * Mod: type-level mod

 * FLog: type-level equivalent of integerLogBase
i.e. the exact integer equivalent to floor (logBase x y)

 * CLog: type-level equivalent of the ceiling of integerLogBase
i.e. the exact integer equivalent to ceiling (logBase x y)

 * Log: type-level equivalent of integerLogBase
where the operation only reduces when floor (logBase b x) ~ ceiling (logBase b x)

 * GCD: a type-level gcd

 * LCM: a type-level lcm

And a custom solver for the above operations defined in GHC.TypeLits.Extra.Solver as a GHC type-checker plugin. To use the plugin, add the

OPTIONS_GHC -fplugin GHC.TypeLits.Extra.Solver

pragma to the header of your file.

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

Andere Pakete mit Bezug zu libghc-ghc-typelits-extra-dev

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • erweitert

libghc-ghc-typelits-extra-dev herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
m68k (inoffizielle Portierung) 132,6 kB1.042,0 kB [Liste der Dateien]