Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data Sprocket = Sprocket {}
- doesSprocketExist :: Sprocket -> IO Bool
- sprocketArgumentName :: Sprocket -> FilePath
- sprocketSystemName :: Sprocket -> FilePath
- maxSprocketArgumentNameLength :: Int
Documentation
Socket emulation. On Posix it represents a socket. On Windows it represents a named pipe.
Instances
Generic Sprocket Source # | |
Show Sprocket Source # | |
Eq Sprocket Source # | |
type Rep Sprocket Source # | |
Defined in Hedgehog.Extras.Stock.IO.Network.Sprocket type Rep Sprocket = D1 ('MetaData "Sprocket" "Hedgehog.Extras.Stock.IO.Network.Sprocket" "hedgehog-extras-0.4.0.1-67y7vcRQ12CJaxwcisiAXw" 'False) (C1 ('MetaCons "Sprocket" 'PrefixI 'True) (S1 ('MetaSel ('Just "sprocketBase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "sprocketName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))) |
sprocketArgumentName :: Sprocket -> FilePath Source #
Use this when needing to pass a sprocket into a command line argument.
sprocketSystemName :: Sprocket -> FilePath Source #
Use this to query the OS about the sprocket