hoogle

Safe HaskellSafe-Infered

General.Base

Description

Module for pure things in the base, and things I think should have been in base, or could plausibly be added.

Synopsis

Documentation

type URL = String

A URL, or internet address. These addresses will usually start with either http:// or file://.

fst3 :: (t, t1, t2) -> t

snd3 :: (t, t1, t2) -> t1

thd3 :: (t, t1, t2) -> t2

swap :: (t1, t) -> (t, t1)

fromLeft :: Either t t1 -> t

fromRight :: Either t t1 -> t1

isLeft :: Either t t1 -> Bool

isRight :: Either t t1 -> Bool

concatMapM :: Monad m => (a1 -> m [a]) -> [a1] -> m [a]

unzipEithers :: [Either a b] -> ([a], [b])

initLast :: [a] -> ([a], a)

lower :: [Char] -> [Char]

upper :: [Char] -> [Char]

ltrim :: [Char] -> [Char]

rtrim :: [Char] -> [Char]

trim :: [Char] -> [Char]

chop :: ([a] -> (b, [a])) -> [a] -> [b]

fromList :: a -> [a] -> a