base -package:base
A prism that shows and reads integers in base-2 through base-36
Note: This is an improper prism, since leading 0s are stripped when
reading.
>>> "100" ^? base 16
Just 256
>>> 1767707668033969 ^. re (base 36)
"helloworld"
Combinator for the
<base /> element.
Example:
base
Result:
<base />
The base from which calculations are made
Render an integral at base n.
The default kind. Does not extend any type.
base to use rather than file name
Used to define
kind.
Base types do not extend any
type.
Basic definitions for the HUnit library.
This module contains what you need to create assertions and test cases
and combine them into test suites.
This module also provides infrastructure for implementing test
controllers (which are used to execute tests). See
Test.HUnit.Text for a great example of how to implement a test
controller.
Basis for IArray and MArray. Not intended for external consumption;
use IArray or MArray instead.
WARNING
This module is considered internal.
The Package Versioning Policy does not apply.
The contents of this module may change in any way whatsoever
and without any warning between minor versions of this package.
Authors importing this module are expected to track development
closely.
Utils for calculating general worst, bound, squeese and free,
functions.
as per: "A Generalized Algorithm for Graph-Coloring Register
Allocation" Michael Smith, Normal Ramsey, Glenn Holloway. PLDI 2004
These general versions are not used in GHC proper because they are too
slow. Instead, hand written optimised versions are provided for each
architecture in MachRegs*.hs
This code is here because we can test the architecture specific code
against it.