protolude-0.3.0: A small prelude.

Safe HaskellUnsafe
LanguageHaskell2010

Protolude.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 #

unsafeRead :: Read a => [Char] -> a Source #