[Haskell-cafe] ANNOUNCE: vector-bytestring-0.0.0.0

Christian Maeder Christian.Maeder at dfki.de
Tue Oct 18 15:45:22 CEST 2011


Am 12.10.2011 16:02, schrieb Bas van Dijk:
> API DOCS
>
> http://hackage.haskell.org/package/vector-bytestring-0.0.0.0

you could re-export VS.empty, VS.singleton, etc. directly.

Cheers Christian


-- | /O(1)/ The empty 'ByteString'
empty :: ByteString
empty = VS.empty
{-# INLINE empty #-}

-- | /O(1)/ Convert a 'Word8' into a 'ByteString'
singleton :: Word8 -> ByteString
singleton = VS.singleton
{-# INLINE [1] singleton #-} -- Inline [1] for intercalate rule



More information about the Haskell-Cafe mailing list