protolude-0.2: A small prelude.

Safe HaskellUnsafe
LanguageHaskell2010

Unsafe

Documentation

unsafeHead :: [a] -> a Source #

unsafeTail :: [a] -> [a] Source #

unsafeInit :: [a] -> [a] Source #

unsafeLast :: [a] -> a Source #

unsafeIndex :: [a] -> Int -> a Source #

unsafeThrow :: Exception e => e -> a Source #