Hoogle Search

Within LTS Haskell 24.68 (ghc-9.10.3)

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

  1. addThread :: Thread s r -> ReObject s r -> ReObject s r

    regex-applicative Text.Regex.Applicative.Object

    Add a thread to an object. The new thread will have lower priority than the threads which are already in the object. If a (non-result) thread with the same id already exists in the object, the object is not changed.

  2. fromThreads :: [Thread s r] -> ReObject s r

    regex-applicative Text.Regex.Applicative.Object

    Create an object from a list of threads. It is recommended that all threads come from the same ReObject, unless you know what you're doing. However, it should be safe to filter out or rearrange threads.

  3. stepThread :: s -> Thread s r -> [Thread s r]

    regex-applicative Text.Regex.Applicative.Object

    Feed a symbol into a non-result thread. It is an error to call stepThread on a result thread.

  4. threadId :: Thread s r -> Maybe ThreadId

    regex-applicative Text.Regex.Applicative.Object

    Returns thread identifier. This will be Just for ordinary threads and Nothing for results.

  5. threads :: ReObject s r -> [Thread s r]

    regex-applicative Text.Regex.Applicative.Object

    List of all threads of an object. Each non-result thread has a unique id.

  6. addReader :: Char -> Reader a -> SExprParser a c -> SExprParser a c

    s-cargot Data.SCargot

    Add the ability to execute some particular reader macro, as defined by its initial character and the Parser which returns the parsed S-Expression. The Reader is passed a Parser which can be recursively called to parse more S-Expressions, and begins parsing after the reader character has been removed from the stream.

    >>> import Text.Parsec (alphaNum, char, many1)
    
    >>> let vecReader p = (char ']' *> pure SNil) <|> (SCons <$> p <*> vecReader p)
    
    >>> let parser = addReader '[' vecReader (mkParser (many1 alphaNum))
    
    >>> decode parser "(an [ele phant])"
    Right [SCons (SAtom "an") (SCons (SCons (SAtom "ele") (SCons (SAtom "phant") SNil)) SNil)]
    

  7. addReader :: Char -> Reader a -> SExprParser a c -> SExprParser a c

    s-cargot Data.SCargot.Parse

    Add the ability to execute some particular reader macro, as defined by its initial character and the Parser which returns the parsed S-Expression. The Reader is passed a Parser which can be recursively called to parse more S-Expressions, and begins parsing after the reader character has been removed from the stream.

    >>> import Text.Parsec (alphaNum, char, many1)
    
    >>> let vecReader p = (char ']' *> pure SNil) <|> (SCons <$> p <*> vecReader p)
    
    >>> let parser = addReader '[' vecReader (mkParser (many1 alphaNum))
    
    >>> decode parser "(an [ele phant])"
    Right [SCons (SAtom "an") (SCons (SCons (SAtom "ele") (SCons (SAtom "phant") SNil)) SNil)]
    

  8. sReady :: SBV State

    sbv Documentation.SBV.Examples.Lists.BoundedMutex

    Symbolic version of the constructor Ready.

  9. eAlready :: SocketException

    socket System.Socket

    Operation already in progress. NOTE: This exception shall not be thrown by any public operation in this library, but is handled internally.

  10. waitRead :: Socket f t p -> Int -> IO ()

    socket System.Socket.Unsafe

    No documentation available.

Page 727 of many | Previous | Next