Hoogle Search

Within LTS Haskell 24.70 (ghc-9.10.3)

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

  1. p'glfwSetWindowTitle :: FunPtr (Ptr C'GLFWwindow -> Ptr CChar -> IO ())

    bindings-GLFW Bindings.GLFW

    No documentation available.

  2. p'glfwSetWindowUserPointer :: FunPtr (Ptr C'GLFWwindow -> Ptr () -> IO ())

    bindings-GLFW Bindings.GLFW

    No documentation available.

  3. p'glfwSetX11SelectionString :: FunPtr (CString -> IO ())

    bindings-GLFW Bindings.GLFW

    No documentation available.

  4. package bitset-word8

    Space efficient set of Word8 and some pre-canned sets useful for parsing HTTP Please see the README on GitHub at https://github.com/nshimaza/bitset-word8#readme

  5. module Data.BitSetWord8

    Space efficient set of Word8 and some pre-canned sets useful for parsing HTTP related ByteString. This packaged is intended to provide O(1) membership test on any subset of ASCII and Latin-1 character set in order to write efficient HTTP related parser.

    Creating your own set

    You can create your own set by fromList.
    myCharSet :: BitSetWord8
    myCharSet = fromList [ Y, y, N, n ]
    
    You can create pre-evaluated set using Template Haskell.
    {-# LANGUAGE TemplateHaskell #-}
    import Language.Haskell.TH.Syntax (Lift, lift)
    
    myPreEvaluatedCharSet :: BitSetWord8
    myPreEvaluatedCharSet = $(lift myCharSet)
    

    Example Usage

    import Data.Attoparsec.ByteString
    
    -- | Parse RFC7230 token.
    token :: Parser ByteString
    token = takeWhile1 (member rfc7230TChar)
    

  6. data BitSetWord8

    bitset-word8 Data.BitSetWord8

    Bitwise set of Word8. Space efficient backend and O(1) membership test.

  7. module Data.BitSetWord8.CharSets

    Some pre-canned character sets useful for HTTP related parsing. All sets provided by this module are evaluated at compile time using Template Haskell.

  8. data BitSetWord8

    bitset-word8 Data.BitSetWord8.Internal

    Bitwise set of Word8. Space efficient backend and O(1) membership test.

  9. BitSetWord8 :: Word64 -> Word64 -> Word64 -> Word64 -> BitSetWord8

    bitset-word8 Data.BitSetWord8.Internal

    No documentation available.

  10. toWord8Set :: [Char] -> Set Word8

    bitset-word8 Data.BitSetWord8.Internal

    Convert given list of Char into Set of Word8. Any Char having code point greater than 0xff is ignored.

Page 1639 of many | Previous | Next