const

const :: a -> b -> a
base Prelude, base Data.Function
Constant function.
constrFields :: Constr -> [String]
base Data.Data
Gets the field labels of a constructor. The list of labels is returned in the same order as they were given in the original constructor declaration.
constrFixity :: Constr -> Fixity
base Data.Data
Gets the fixity of a constructor
constrIndex :: Constr -> ConIndex
base Data.Data
Gets the index of a constructor (algebraic datatypes only)
constrRep :: Constr -> ConstrRep
base Data.Data
Gets the public presentation of constructors
constrType :: Constr -> DataType
base Data.Data
Gets the datatype of a constructor
package const-math-ghc-plugin
package
This plugin evaluates constant math expressions at compile-time. For details and full usage information, see; https://github.com/kfish/const-math-ghc-plugin To use it to compile foo.hs: > $ cabal install const-math-ghc-plugin > $ ghc -fplugin ConstMath.Plugin foo.hs To use it to build a cabal package packagename: > $ cabal install --ghc-options="-package const-math-ghc-plugin > -fplugin ConstMath.Plugin" packagename Math should run faster. Version 1.0.0.0
constantColor :: StateVar (Color4 GLfloat)
OpenGL Graphics.Rendering.OpenGL.GL.Texturing.Environments
package constrained-normal
package
The package provides normal forms for monads and related structures, similarly to the Operational package. The difference is that we parameterise the normal forms on a constraint, and apply that constraint to all existential types within the normal form. This allows monad (and other) instances to be generated for underlying types that require constraints on their return-like and bind-like operations, e.g. Set. This is documented in the following paper: The Constrained-Monad Problem.  Neil Sculthorpe and Jan Bracker and George Giorgidze and Andy Gill.  2013. http://www.ittc.ku.edu/~neil/papers_and_talks/constrained-monad-problem.pdf The functionality exposed by this library is also used internally by the Set-Monad and RMonad packages. Version 1.0.0
constraintK :: Kind
template-haskell Language.Haskell.TH.Lib, template-haskell Language.Haskell.TH
package constraints
package
Constraint manipulation Version 0.3.4.2
constrs :: Data a => [a]
syb Data.Generics.Builders
Return a list of values of a datatype. Each value is one of the possible constructors of the datatype, populated with empty values.
package constructible
package
The constructible reals are the subset of the real numbers that can be represented exactly using field operations (addition, subtraction, multiplication, division) and positive square roots. They support exact computations, equality comparisons, and ordering. Version 0.1.0.1
package constructive-algebra
package
A library of algebra focusing mainly on commutative ring theory from a constructive point of view. Classical structures are implemented without Noetherian assumptions. This means that it is not assumed that all ideals are finitely generated. For example, instead of principal ideal domains one gets Bezout domains which are integral domains in which all finitely generated ideals are principal (and not necessarily that all ideals are principal). This give a good framework for implementing many interesting algorithms. Version 0.3.0
Const :: a -> Const a b
base Control.Applicative
newtype Const a b
base Control.Applicative
data Constr
base Data.Data
Representation of constructors. Note that equality on constructors with different types may not work -- i.e. the constructors for False and Nothing may compare equal.
data ConstrRep
base Data.Data
Public representation of constructors
Constant :: Src
OpenGL Graphics.Rendering.OpenGL.GL.Texturing.Environments
Constant :: a -> Constant a b
transformers Data.Functor.Constant
newtype Constant a b
transformers Data.Functor.Constant
Constant functor.
ConstantAlpha :: BlendingFactor
OpenGL Graphics.Rendering.OpenGL.GL.PerFragment
ConstantBorder :: (Color4 GLfloat) -> ConvolutionBorderMode
OpenGL Graphics.Rendering.OpenGL.GL.PixelRectangles.Convolution
ConstantColor :: BlendingFactor
OpenGL Graphics.Rendering.OpenGL.GL.PerFragment
package ConstraintKinds
package
This module provides more flexible versions of common type classes that use the ConstraintKinds extension.  This allows us to make types that require constraints instances of the popular classes. For example, we reimplement Functor and Foldable using the ContraintKinds style.  This allows us to manipulate lists and unboxed vectors using the same functions. This library needs a lot of work before it can be considered ready for others to use.  Right now, only those instances needed by the HLearn library have been implemented in this library. Version 1.1.0.0
ConstraintT :: Type
template-haskell Language.Haskell.TH.Syntax, template-haskell Language.Haskell.TH
> Constraint
module Data.Functor.Constant
transformers Data.Functor.Constant
The constant functor.
module GHC.Constants
base GHC.Constants
AlgConstr :: ConIndex -> ConstrRep
base Data.Data
CharConstr :: Char -> ConstrRep
base Data.Data
dataTypeConstrs :: DataType -> [Constr]
base Data.Data
Gets the constructors of an algebraic datatype
FloatConstr :: Rational -> ConstrRep
base Data.Data
fromConstr :: Data a => Constr -> a
base Data.Data
Build a term skeleton
fromConstrB :: Data a => (forall d. Data d => d) -> Constr -> a
base Data.Data
Build a term and use a generic function for subterms
fromConstrM :: (Monad m, Data a) => (forall d. Data d => m d) -> Constr -> m a
base Data.Data
Monadic variation on fromConstrB
getConst :: Const a b -> a
base Control.Applicative
indexConstr :: DataType -> ConIndex -> Constr
base Data.Data
Gets the constructor for an index (algebraic datatypes only)
IntConstr :: Integer -> ConstrRep
base Data.Data
maxConstrIndex :: DataType -> ConIndex
base Data.Data
Gets the maximum constructor index of an algebraic datatype
mkCharConstr :: DataType -> Char -> Constr
base Data.Data
Makes a constructor for Char.
mkConstr :: DataType -> String -> [String] -> Fixity -> Constr
base Data.Data
Constructs a constructor
mkFloatConstr :: DataType -> Double -> Constr
base Data.Data
This function is now deprecated. Please use mkRealConstr instead.
mkIntConstr :: DataType -> Integer -> Constr
base Data.Data
This function is now deprecated. Please use mkIntegralConstr instead.
mkIntegralConstr :: Integral a => DataType -> a -> Constr
base Data.Data
mkRealConstr :: Real a => DataType -> a -> Constr
base Data.Data
mkStringConstr :: DataType -> String -> Constr
base Data.Data
This function is now deprecated. Please use mkCharConstr instead.
readConstr :: DataType -> String -> Maybe Constr
base Data.Data
Lookup a constructor via a string
repConstr :: DataType -> ConstrRep -> Constr
base Data.Data
Look up a constructor by its representation
showConstr :: Constr -> String
base Data.Data
Gets the string for a constructor
toConstr :: Data a => a -> Constr
base Data.Data
tyConString :: TyCon -> String
base Data.Typeable
Observe string encoding of a type representation
package cabal-constraints
package
Repeatable builds for cabalized Haskell projects 'cabal-constraints' provides repeatable builds for cabalized Haskell projects by "freezing" the exact versions of the dependencies selected by 'cabal-install'. All build environments for the project, such as the test or staging build environments, or other developers collaborating on the project, will then use the same dependency versions. It is designed to be used alongside 'cabal-install' sandboxes, in which case isolated, repeatable builds can be achieved. Using cabal-constraints 'cabal-constraints' should be run from the root directory of a cabalized Haskell project and given the path to the `setup-config` file to use. It will print out all dependencies of the project in a format suitable for use in a `cabal-install` config file. For example, running 'cabal-constraints' against itself produces the following: > $ cabal-constraints dist/dist-sandbox-500003c6/setup-config > constraints: Cabal == 1.19.0 > , array == 0.4.0.1 > , base == 4.6.0.1 > , bytestring == 0.10.0.2 > , containers == 0.5.0.0 > , deepseq == 1.3.0.1 > , directory == 1.2.0.1 > , filepath == 1.3.0.1 > , ghc-prim == 0.3.0.0 > , integer-gmp == 0.5.0.0 > , old-locale == 1.0.0.5 > , pretty == 1.1.1.0 > , process == 1.1.0.2 > , rts == 1.0 > , time == 1.4.0.1 > , unix == 2.6.0.1 A single mandatory argument must be provided which is the path to the setup-config file to use. The file will be located under the dist directory. Usually there will be a single setup-config file which can be found by running find dist -name setup-config from the root directory of the project. If your project has more than one such file, it is likely because you have built it either with and without sandboxes or with multiple sandboxes.  You probably want the most recently modified file which can be found with ls -tr $( find dist -name setup-config ) | tail -n1. To use these constraints for reproducible builds, one should make use of the new sandbox feature of cabal-install 1.18. The constraints can be redirected to cabal.config and committed to your code repository.  When the project is built, the same set of dependency versions will be resolved by cabal-install ensuring repeatable builds. If cabal.config contains no other information the simplest solution is to overwrite it: > $ cabal-constraints > cabal.config If cabal.config contains information that needs to be preserved, the following will replace the constraints section and everything following it with the new constraints. If you ensure that the constraints section is the last section of the file, all other information in it will be kept. > $ sed -i /^constraints:/,$d cabal.config && cabal-constraints > >> cabal.config Version 0.0.0.1
package crf-chain1-constrained
package
The library provides efficient implementation of the first-order, linear-chain conditional random fields (CRFs) with position-wise constraints imposed over label values. It is strongly related to the simpler http://hackage.haskell.org/package/crf-chain1 library where constraints are not taken into account and all features which are not included in the CRF model are considered to have probability of 0.  Here, on the other hand, such features do not influence the overall probability of the (sentence, labels) pair - they are assigned the default potential of 0. Efficient algorithm for determining marginal probabilities of individual labels is provided. The tagging is performed with respect to marginal probabilities. Version 0.3.0
ForceSpecConstr :: SpecConstrAnnotation
base GHC.Exts
getConstant :: Constant a b -> a
transformers Data.Functor.Constant
HsRecConstr :: HsQName -> [HsFieldUpdate] -> HsExp
haskell-src Language.Haskell.Syntax
record construction expression
mAX_SPEC_CONSTR_SIZE :: Int
base GHC.Constants
mkRecConstrOrUpdate :: HsExp -> [HsFieldUpdate] -> P HsExp
haskell-src Language.Haskell.ParseUtils
NoSpecConstr :: SpecConstrAnnotation
base GHC.Exts
OneMinusConstantAlpha :: BlendingFactor
OpenGL Graphics.Rendering.OpenGL.GL.PerFragment

Show more results