helium-1.8.1: The Helium Compiler.

Safe HaskellNone
LanguageHaskell98

Helium.Utils.Utils

Description

Some Prelude-like functions

Synopsis

Documentation

hole :: String Source

Concrete representation of holes

fst3 :: (a, b, c) -> a Source

snd3 :: (a, b, c) -> b Source

thd3 :: (a, b, c) -> c Source

fst4 :: (a, b, c, d) -> a Source

snd4 :: (a, b, c, d) -> b Source

thd4 :: (a, b, c, d) -> c Source

fth4 :: (a, b, c, d) -> d Source

groupAll :: Ord a => [a] -> [[a]] Source

groupAllBy :: Ord a => (a -> a -> Bool) -> [a] -> [[a]] Source

indexOf :: Eq a => a -> [a] -> Maybe Int Source

lastIndexOf :: Eq a => a -> [a] -> Maybe Int Source