Hoogle Search

Within LTS Haskell 24.31 (ghc-9.10.3)

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

  1. toVector :: Vector v a => InputStream a -> IO (v a)

    io-streams System.IO.Streams.Vector

    Drains an InputStream, converting it to a vector. Note that this function reads the entire InputStream strictly into memory and as such is not recommended for streaming applications or where the size of the input is not bounded or known.

    ghci> is <- Streams.fromList [(1::Int)..4]
    ghci> Streams.toVector is :: IO (V.Vector Int)
    fromList [1,2,3,4]
    

  2. toVectorSized :: Vector v a => Int -> InputStream a -> IO (v a)

    io-streams System.IO.Streams.Vector

    Like toVector, but allows control over how large the vector buffer is to start with.

  3. writeVector :: Vector v a => v a -> OutputStream a -> IO ()

    io-streams System.IO.Streams.Vector

    Feeds a vector to an OutputStream. Does not write an end-of-stream to the stream.

    ghci> let v = V.fromList [1..4] :: V.Vector Int
    ghci> os <- Streams.unlines Streams.stdout >>= Streams.contramap (S.pack . show) :: IO (OutputStream Int)
    ghci> Streams.writeVector v os
    1
    2
    3
    4
    

  4. array_int2vector :: TypeInfo

    postgresql-simple Database.PostgreSQL.Simple.TypeInfo.Static

    No documentation available.

  5. array_int2vectorOid :: Oid

    postgresql-simple Database.PostgreSQL.Simple.TypeInfo.Static

    No documentation available.

  6. array_oidvector :: TypeInfo

    postgresql-simple Database.PostgreSQL.Simple.TypeInfo.Static

    No documentation available.

  7. array_oidvectorOid :: Oid

    postgresql-simple Database.PostgreSQL.Simple.TypeInfo.Static

    No documentation available.

  8. int2vector :: TypeInfo

    postgresql-simple Database.PostgreSQL.Simple.TypeInfo.Static

    No documentation available.

  9. int2vectorOid :: Oid

    postgresql-simple Database.PostgreSQL.Simple.TypeInfo.Static

    No documentation available.

  10. oidvector :: TypeInfo

    postgresql-simple Database.PostgreSQL.Simple.TypeInfo.Static

    No documentation available.

Page 48 of many | Previous | Next