Hoogle Search

Within LTS Haskell 24.65 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. newtype IntVar

    unification-fd Control.Unification.Ranked.IntVar

    A "mutable" unification variable implemented by an integer. This provides an entirely pure alternative to truly mutable alternatives (like STVar), which can make backtracking easier. N.B., because this implementation is pure, we can use it for both ranked and unranked monads.

  2. IntVar :: Int -> IntVar

    unification-fd Control.Unification.Ranked.IntVar

    No documentation available.

  3. module Control.Unification.Ranked.STVar

    A ranked variant of Control.Unification.STVar.

  4. module Control.Unification.STVar

    This module defines an implementation of unification variables using the ST monad.

  5. data STVar s (t :: Type -> Type)

    unification-fd Control.Unification.STVar

    Unification variables implemented by STRefs. In addition to the STRef for the term itself, we also track the variable's ID (to support visited-sets).

  6. getVarID :: Variable v => v -> Int

    unification-fd Control.Unification.Types

    Return a unique identifier for this variable, in order to support the use of visited-sets instead of occurs-checks. This function must satisfy the following coherence law with respect to the Eq instance: x == y if and only if getVarID x == getVarID y

Page 117 of many | Previous | Next