Hoogle Search

Within LTS Haskell 24.60 (ghc-9.10.3)

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

  1. denseToSparse :: forall a (v :: Type -> Type) . (Eq a, Num a, Vector v a, Vector v (Vector 1 Word, a)) => Poly v a -> Poly v a

    poly Data.Poly.Sparse

    Convert from dense to sparse polynomials.

    >>> :set -XFlexibleContexts
    
    >>> denseToSparse (1 + Data.Poly.X^2) :: Data.Poly.Sparse.UPoly Int
    1 * X^2 + 1
    

  2. sparseToDense :: forall a (v :: Type -> Type) . (Num a, Vector v a, Vector v (Vector 1 Word, a)) => Poly v a -> Poly v a

    poly Data.Poly.Sparse

    Convert from sparse to dense polynomials.

    >>> :set -XFlexibleContexts
    
    >>> sparseToDense (1 + Data.Poly.Sparse.X^2) :: Data.Poly.UPoly Int
    1 * X^2 + 0 * X + 1
    

  3. denseToSparse :: forall a (v :: Type -> Type) . (Eq a, Semiring a, Vector v a, Vector v (Vector 1 Word, a)) => Poly v a -> Poly v a

    poly Data.Poly.Sparse.Semiring

    Convert from dense to sparse polynomials.

    >>> :set -XFlexibleContexts
    
    >>> denseToSparse (1 `Data.Semiring.plus` Data.Poly.X^2) :: Data.Poly.Sparse.UPoly Int
    1 * X^2 + 1
    

  4. sparseToDense :: forall a (v :: Type -> Type) . (Semiring a, Vector v a, Vector v (Vector 1 Word, a)) => Poly v a -> Poly v a

    poly Data.Poly.Sparse.Semiring

    Convert from sparse to dense polynomials.

    >>> :set -XFlexibleContexts
    
    >>> sparseToDense (1 `Data.Semiring.plus` Data.Poly.Sparse.X^2) :: Data.Poly.UPoly Int
    1 * X^2 + 0 * X + 1
    

  5. useTPGDatabase :: PGDatabase -> DecsQ

    postgresql-typed Database.PostgreSQL.Typed

    Specify an alternative database to use during compilation. This lets you override the default connection parameters that are based on TPG environment variables. This should be called as a top-level declaration and produces no code. It uses pgReconnect so is safe to call multiple times with the same database.

  6. invalid_row_count_in_result_offset_clause :: ByteString

    postgresql-typed Database.PostgreSQL.Typed.ErrCodes

    INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE: 2201X (Error)

  7. no_additional_dynamic_result_sets_returned :: ByteString

    postgresql-typed Database.PostgreSQL.Typed.ErrCodes

    NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED: 02001 (Warning)

  8. warning_dynamic_result_sets_returned :: ByteString

    postgresql-typed Database.PostgreSQL.Typed.ErrCodes

    WARNING_DYNAMIC_RESULT_SETS_RETURNED: 0100C (Warning)

  9. warning_null_value_eliminated_in_set_function :: ByteString

    postgresql-typed Database.PostgreSQL.Typed.ErrCodes

    WARNING_NULL_VALUE_ELIMINATED_IN_SET_FUNCTION: 01003 (Warning)

  10. useTPGDatabase :: PGDatabase -> DecsQ

    postgresql-typed Database.PostgreSQL.Typed.TH

    Specify an alternative database to use during compilation. This lets you override the default connection parameters that are based on TPG environment variables. This should be called as a top-level declaration and produces no code. It uses pgReconnect so is safe to call multiple times with the same database.

Page 204 of many | Previous | Next