Hoogle Search

Within LTS Haskell 24.51 (ghc-9.10.3)

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

  1. fromEnum :: (Enum a, Bits w) => a -> MaskedValue w a

    enumset Data.FlagSet

    fromEnum should return an integer that represents the position of the a value in the list of all enumeration items. In contrast to that, fromEnum must return the according bit pattern.

  2. SqlNumeric :: Word32 -> Word32 -> SqlType

    esqueleto Database.Esqueleto

    No documentation available.

  3. castNum :: (Num a, Num b) => SqlExpr (Value a) -> SqlExpr (Value b)

    esqueleto Database.Esqueleto

    Allow a number of one type to be used as one of another type via an implicit cast. An explicit cast is not made, this function changes only the types on the Haskell side. Caveat: Trying to use castNum from Double to Int will not result in an integer, the original fractional number will still be used! Use round_, ceiling_ or floor_ instead. Safety: This operation is mostly safe due to the Num constraint between the types and the fact that RDBMSs usually allow numbers of different types to be used interchangeably. However, there may still be issues with the query not being accepted by the RDBMS or persistent not being able to parse it.

  4. castNumM :: (Num a, Num b) => SqlExpr (Value (Maybe a)) -> SqlExpr (Value (Maybe b))

    esqueleto Database.Esqueleto

    Same as castNum, but for nullable values.

  5. SqlNumeric :: Word32 -> Word32 -> SqlType

    esqueleto Database.Esqueleto.Experimental

    No documentation available.

  6. castNum :: (Num a, Num b) => SqlExpr (Value a) -> SqlExpr (Value b)

    esqueleto Database.Esqueleto.Experimental

    Allow a number of one type to be used as one of another type via an implicit cast. An explicit cast is not made, this function changes only the types on the Haskell side. Caveat: Trying to use castNum from Double to Int will not result in an integer, the original fractional number will still be used! Use round_, ceiling_ or floor_ instead. Safety: This operation is mostly safe due to the Num constraint between the types and the fact that RDBMSs usually allow numbers of different types to be used interchangeably. However, there may still be issues with the query not being accepted by the RDBMS or persistent not being able to parse it.

  7. castNumM :: (Num a, Num b) => SqlExpr (Value (Maybe a)) -> SqlExpr (Value (Maybe b))

    esqueleto Database.Esqueleto.Experimental

    Same as castNum, but for nullable values.

  8. castNum :: (Num a, Num b) => SqlExpr (Value a) -> SqlExpr (Value b)

    esqueleto Database.Esqueleto.Internal.Internal

    Allow a number of one type to be used as one of another type via an implicit cast. An explicit cast is not made, this function changes only the types on the Haskell side. Caveat: Trying to use castNum from Double to Int will not result in an integer, the original fractional number will still be used! Use round_, ceiling_ or floor_ instead. Safety: This operation is mostly safe due to the Num constraint between the types and the fact that RDBMSs usually allow numbers of different types to be used interchangeably. However, there may still be issues with the query not being accepted by the RDBMS or persistent not being able to parse it.

  9. castNumM :: (Num a, Num b) => SqlExpr (Value (Maybe a)) -> SqlExpr (Value (Maybe b))

    esqueleto Database.Esqueleto.Internal.Internal

    Same as castNum, but for nullable values.

  10. SqlNumeric :: Word32 -> Word32 -> SqlType

    esqueleto Database.Esqueleto.Legacy

    No documentation available.

Page 277 of many | Previous | Next