Pugs.Prim

|  | Contents | Index
Pugs.Prim
Synopsis
op0 :: Ident -> [Val] -> Eval Val
op0Zip :: [[Val]] -> [[Val]]
op1 :: Ident -> Val -> Eval Val
op1EvalHaskell :: Val -> Eval Val
op1Cast :: Value n => (n -> Val) -> Val -> Eval Val
op2Cast :: (Value n, Value m) => (n -> m -> Val) -> Val -> Val -> Eval Val
op1Pairs :: Val -> Eval [Val]
op1Keys :: Val -> Eval Val
op1Values :: Val -> Eval Val
op1StrFirst :: (Char -> Char) -> Val -> Eval Val
op1Pick :: Val -> Eval Val
op1Sum :: Val -> Eval Val
op1Print :: (Handle -> String -> IO ()) -> Val -> Eval Val
bool2n :: Bool -> VInt
doBoolIO :: Value a => (a -> IO b) -> Val -> Eval Bool
boolIO :: Value a => (a -> IO b) -> Val -> Eval Val
boolIO2 :: (Value a, Value b) => (a -> b -> IO c) -> Val -> Val -> Eval Val
opEval :: Bool -> String -> String -> Eval Val
retEvalResult :: Bool -> Val -> Eval Val
mapStr :: (Word8 -> Word8) -> [Word8] -> String
mapStr2 :: (Word8 -> Word8 -> Word8) -> [Word8] -> [Word8] -> String
mapStr2Fill :: (Word8 -> Word8 -> Word8) -> [Word8] -> [Word8] -> String
op2 :: Ident -> Val -> Val -> Eval Val
op2Match :: Val -> Val -> Eval Val
rxSplit :: VRule -> String -> Eval [String]
op3 :: Ident -> Val -> Val -> Val -> Eval Val
op4 :: Ident -> Val -> Val -> Val -> Val -> Eval Val
op2Hyper :: Ident -> Val -> Val -> Eval Val
op2Array :: (forall a . ArrayClass a => a -> [Val] -> Eval ()) -> Val -> Val -> Eval Val
op2Grep :: Val -> Val -> Eval Val
op2Map :: Val -> Val -> Eval Val
op2Join :: Val -> Val -> Eval Val
vCastStr :: Val -> Eval VStr
vCastRat :: Val -> Eval VRat
op2Str :: (Value v1, Value v2) => (v1 -> v2 -> VStr) -> Val -> Val -> Eval Val
op2Num :: (Value v1, Value v2) => (v1 -> v2 -> VNum) -> Val -> Val -> Eval Val
op2Bool :: (Value v1, Value v2) => (v1 -> v2 -> VBool) -> Val -> Val -> Eval Val
op2Int :: (Value v1, Value v2) => (v1 -> v2 -> VInt) -> Val -> Val -> Eval Val
op2Rat :: (Value v1, Value v2) => (v1 -> v2 -> VRat) -> Val -> Val -> Eval Val
op2Exp :: Val -> Val -> Eval Val
op1Range :: Val -> Val
op2Range :: Val -> Val -> Val
op2Divide :: Val -> Val -> Eval Val
op2Modulus :: Val -> Val -> Eval Val
op2ChainedList :: Val -> Val -> Val
op2Logical :: Value v => (v -> Bool) -> Val -> Val -> Eval Val
op2DefinedOr :: Val
op2Cmp :: (a -> Eval b) -> (b -> b -> VBool) -> a -> a -> Eval Val
op2Ord :: Ord ord => (a -> Eval ord) -> a -> a -> Eval Val
op1Floating :: (Double -> Double) -> Val -> Eval Val
op1Numeric :: (forall a . Num a => a -> a) -> Val -> Eval Val
op2Numeric :: (forall a . Num a => a -> a -> a) -> Val -> Val -> Eval Val
primOp :: String -> String -> Params -> String -> STM (Pad -> Pad)
primDecl :: String -> STM (Pad -> Pad)
doFoldParam :: String -> String -> [Param] -> [Param]
foldParam :: String -> Params -> Params
fileTestIO :: Value n => (n -> IO Val) -> Val -> Eval Val
fileTestIsReadable :: FilePath -> IO Val
fileTestIsWritable :: FilePath -> IO Val
fileTestIsExecutable :: FilePath -> IO Val
fileTestExists :: FilePath -> IO Val
fileTestIsFile :: FilePath -> IO Val
fileTestIsDirectory :: FilePath -> IO Val
fileTestFileSize :: FilePath -> IO Val
fileTestSizeIsZero :: FilePath -> IO Val
pairsFromRef :: VRef -> Eval [Val]
keysFromRef :: VRef -> Eval [Val]
valuesFromRef :: VRef -> Eval [Val]
existsFromRef :: VRef -> Val -> Eval VBool
deleteFromRef :: VRef -> Val -> Eval Val
prettyVal :: Int -> Val -> Eval VStr
sortByM :: (Val -> Val -> Eval Bool) -> [Val] -> Eval [Val]
initSyms :: STM [Pad -> Pad]
Produced by Haddock version ADDOCK_VERSION