Safe Haskell | None |
---|---|
Language | Haskell98 |
Some Prelude-like functions
- hole :: String
- ltrim :: String -> String
- rtrim :: String -> String
- trim :: String -> String
- commaList :: [String] -> String
- fst3 :: (a, b, c) -> a
- snd3 :: (a, b, c) -> b
- thd3 :: (a, b, c) -> c
- fst4 :: (a, b, c, d) -> a
- snd4 :: (a, b, c, d) -> b
- thd4 :: (a, b, c, d) -> c
- fth4 :: (a, b, c, d) -> d
- throw :: String -> IO a
- groupAll :: Ord a => [a] -> [[a]]
- groupAllBy :: Ord a => (a -> a -> Bool) -> [a] -> [[a]]
- indexOf :: Eq a => a -> [a] -> Maybe Int
- lastIndexOf :: Eq a => a -> [a] -> Maybe Int
- combinePathAndFile :: String -> String -> String
- splitFilePath :: String -> (String, String, String)
- refToCurrentFileName :: IORef String
- refToCurrentImported :: IORef [String]
- internalError :: String -> String -> String -> a
- maxInt :: Integer
- minInt :: Integer
Documentation
groupAllBy :: Ord a => (a -> a -> Bool) -> [a] -> [[a]] Source
lastIndexOf :: Eq a => a -> [a] -> Maybe Int Source
combinePathAndFile :: String -> String -> String Source
internalError :: String -> String -> String -> a Source