Hoogle Search
Within LTS Haskell 24.49 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
An implementation of quadratic irrationals A library for exact computation with quadratic irrationals with support for exact conversion from and to (potentially periodic) simple continued fractions. A quadratic irrational is a number that can be expressed in the form
(a + b √c) / d
where a, b and d are integers and c is a square-free natural number. Some examples of such numbers are- 7/2,
- √2,
- (1 + √5)/2 (the golden ratio),
- solutions to quadratic equations with rational constants – the quadratic formula has a familiar shape.
a + 1/(b + 1/(c + 1/(d + 1/(e + …))))
or alternatively written as[a; b, c, d, e, …]
where a is an integer and b, c, d, e, … are positive integers. Every finite SCF represents a rational number and every infinite, periodic SCF represents a quadratic irrational.3.5 = [3; 2] (1+√5)/2 = [1; 1, 1, 1, …] √2 = [1; 2, 2, 2, …]
-
queue sheet utility This package provides a utility for creating queue sheets. Please see the README on GitHub at https://github.com/ExtremaIS/queue-sheet-haskell#readme.
-
Queue data structures. Queue data structures, as described in
- Okasaki, Chris. "Simple and efficient purely functional queues and deques." Journal of functional programming 5.4 (1995): 583-592.
- Okasaki, Chris. Purely Functional Data Structures. Diss. Princeton University, 1996.
- List conversion functions associate the head of a list with the front of a queue.
- The append operator xs <> ys creates a queue with xs in front of ys.
- The Show instances draw the front of the queue on the left.
- EphemeralQueue is 2.5x faster than and allocates 0.50x as much memory as Queue.
- Queue is 2.6x faster than and allocates 0.40x as much memory as Seq (from containers).
-
quick & easy benchmarking of command-line programs quickbench produces very simple output (elapsed seconds), as quickly as possible (running commands just once by default), and tabulates results from multiple executables. I find it very useful for quick and dirty, exploratory, and comparative measurements that you can understand at a glance. Please see the readme for more.
-
A library for stateful property-based testing Please see the README on GitHub at https://github.com/input-output-hk/quickcheck-dynamic#readme
package
quickcheck-state-machine Test monadic programs using state machine based models See README at https://github.com/stevana/quickcheck-state-machine#readme
package
quickcheck-transformer A GenT monad transformer for QuickCheck library. A fork of QuickCheck-GenT that works for older GHC versions and uses the Test module folder like QuickCheck.
-
Radix trees Radix and PATRICIA trees, both spine-strict and spine-lazy. See the README for a brief overview of the data structures included in this package.
-
Print text to terminal with colors and effects Please see README.md
-
Random access lists This package provides ordinary random access list, RAList, and also a length indexed variant, RAVec. The data structure allows fast cons-operation (like ordinary list) but also fast random access (like non-functional arrays). For lens or optics support see ral-lens and ral-optics packages respectively.
Similar packages
These packages don't provide length-indexed variants, and their RAList has opaque structure.