Hoogle Search

Within LTS Haskell 24.41 (ghc-9.10.3)

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

  1. PathSegment :: Text -> PathSegment

    servant-foreign Servant.Foreign.Internal

    No documentation available.

  2. module Shell.Utility.ParseArgument

    Both System.Console.GetOpt and Optparse.Applicative do not have built-in support for number or enumeration arguments. But there is usually a lot to check, e.g. whether numbers are positive, not too big, etc. We provide argument parsers here in a way that can be used in all command-line parsing libraries.

  3. ParSsh :: SshMode

    shelly Shelly

    No documentation available.

  4. module Shelly.Pipe

    This module is a wrapper for the module Shelly. The only difference is a main type Sh. In this module Sh contains a list of results. Actual definition of the type Sh is:

    import qualified Shelly as S
    
    newtype Sh a = Sh { unSh :: S.Sh [a] }
    
    This definition can simplify some filesystem commands. A monad bind operator becomes a pipe operator and we can write
    findExt ext = findWhen (pure . hasExt ext)
    
    main :: IO ()
    main = shs $ do
    mkdir "new"
    findExt "hs"  "." >>= flip cp "new"
    findExt "cpp" "." >>= rm_f
    liftIO $ putStrLn "done"
    
    Documentation in this module mostly just reference documentation from the main Shelly module.
    {-# LANGUAGE OverloadedStrings #-}
    {-# LANGUAGE ExtendedDefaultRules #-}
    {-# OPTIONS_GHC -fno-warn-type-defaults #-}
    import Shelly
    import Data.Text as T
    default (T.Text)
    

  5. type PrecShowS = Int -> ShowS

    show-combinators Text.Show.Combinators

    Type of strings representing expressions, parameterized by the surrounding precedence level. This is the return type of flip showsPrec.

  6. module Sound.Sox.Play

    No documentation available.

  7. data Peek a

    store Data.Store

    Peek actions are useful for building sequential deserializers. They are actions which read from memory and construct values from it. The Applicative and Monad instances make it easy to chain these together to get more complicated deserializers. This machinery keeps track of the current Ptr and end-of-buffer Ptr.

  8. data PeekException

    store Data.Store

    Exception thrown while running peek. Note that other types of exceptions can also be thrown. Invocations of fail in the Poke monad causes this exception to be thrown. PeekException is thrown when the data being decoded is invalid.

  9. PeekException :: Offset -> Text -> PeekException

    store Data.Store

    No documentation available.

  10. data Poke a

    store Data.Store

    Poke actions are useful for building sequential serializers. They are actions which write values to bytes into memory specified by a Ptr base. The Applicative and Monad instances make it easy to write serializations, by keeping track of the Offset of the current byte. They allow you to chain Poke action such that subsequent Pokes write into subsequent portions of the output.

Page 642 of many | Previous | Next