hedgehog-extras-0.4.1.0: Supplemental library for hedgehog
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hedgehog.Extras.Stock.IO.Network.Sprocket

Synopsis

Documentation

data Sprocket Source #

Socket emulation. On Posix it represents a socket. On Windows it represents a named pipe.

Constructors

Sprocket 

Instances

Instances details
Generic Sprocket Source # 
Instance details

Defined in Hedgehog.Extras.Stock.IO.Network.Sprocket

Associated Types

type Rep Sprocket :: Type -> Type #

Methods

from :: Sprocket -> Rep Sprocket x #

to :: Rep Sprocket x -> Sprocket #

Show Sprocket Source # 
Instance details

Defined in Hedgehog.Extras.Stock.IO.Network.Sprocket

Eq Sprocket Source # 
Instance details

Defined in Hedgehog.Extras.Stock.IO.Network.Sprocket

type Rep Sprocket Source # 
Instance details

Defined in Hedgehog.Extras.Stock.IO.Network.Sprocket

type Rep Sprocket = D1 ('MetaData "Sprocket" "Hedgehog.Extras.Stock.IO.Network.Sprocket" "hedgehog-extras-0.4.1.0-7Jow7ueoIGL1USAlz69Hrm" 'False) (C1 ('MetaCons "Sprocket" 'PrefixI 'True) (S1 ('MetaSel ('Just "sprocketBase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "sprocketName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)))

doesSprocketExist :: Sprocket -> IO Bool Source #

Test if the sprocket exists

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