Safe Haskell | None |
---|---|
Language | Haskell98 |
System.Wordexp
Description
wordexp (and wordfree) Haskell wrapper
Wrapper
wordexp :: Flags -> String -> IO (Either WordexpError [String]) Source #
wordexp wrapper
Allows to specify desired flags, return expanded strings or encountered error if any
Flags
wordexp flags
Not every flag is supported since some of them do not make much sense in Haskell anyway
Instances
Bounded Flags Source # | |
Eq Flags Source # | |
Data Flags Source # | |
Defined in System.Wordexp Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Flags -> c Flags # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Flags # dataTypeOf :: Flags -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Flags) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Flags) # gmapT :: (forall b. Data b => b -> b) -> Flags -> Flags # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Flags -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Flags -> r # gmapQ :: (forall d. Data d => d -> u) -> Flags -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Flags -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Flags -> m Flags # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Flags -> m Flags # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Flags -> m Flags # | |
Ord Flags Source # | |
Read Flags Source # | |
Show Flags Source # | |
Ix Flags Source # | |
Semigroup Flags Source # | |
Monoid Flags Source # | |
Bits Flags Source # | |
Defined in System.Wordexp Methods (.&.) :: Flags -> Flags -> Flags # (.|.) :: Flags -> Flags -> Flags # xor :: Flags -> Flags -> Flags # complement :: Flags -> Flags # shift :: Flags -> Int -> Flags # rotate :: Flags -> Int -> Flags # setBit :: Flags -> Int -> Flags # clearBit :: Flags -> Int -> Flags # complementBit :: Flags -> Int -> Flags # testBit :: Flags -> Int -> Bool # bitSizeMaybe :: Flags -> Maybe Int # shiftL :: Flags -> Int -> Flags # unsafeShiftL :: Flags -> Int -> Flags # shiftR :: Flags -> Int -> Flags # unsafeShiftR :: Flags -> Int -> Flags # rotateL :: Flags -> Int -> Flags # |
Errors
data WordexpError Source #
Possible wordexp errors
Constructors
OutOfSpace | |
IllegalCharacterOccurence | |
UndefinedShellVariable | |
CommandSubstitution | |
ShellSyntaxError |