curry-frontend-0.4.2: Lexer, parser, type checker, etc. for the Curry language

Copyright(c) 2001 - 2003 Wolfgang Lux 2011 - 2015 Björn Peemöler
LicenseBSD-3-clause
Maintainerbjp@informatik.uni-kiel.de
Stabilityexperimental
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

Base.Utils

Description

The module Utils provides a few simple functions that are commonly used in the compiler, but not implemented in the Haskell Prelude or standard library.

Documentation

(++!) :: [a] -> [a] -> [a] infixr 5 Source #

foldr2 :: (a -> b -> c -> c) -> c -> [a] -> [b] -> c Source #

mapAccumM :: Monad m => (a -> b -> m (a, c)) -> a -> [b] -> m (a, [c]) Source #

findDouble :: Eq a => [a] -> Maybe a Source #

concatMapM :: Monad m => (a -> m [b]) -> [a] -> m [b] Source #

findMultiples :: Eq a => [a] -> [[a]] Source #