Copyright | (c) 2001 - 2003 Wolfgang Lux 2011 - 2015 Björn Peemöler 2016 - 2017 Finn Teegen |
---|---|
License | BSD-3-clause |
Maintainer | fte@informatik.uni-kiel.de |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
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
mapAccumM :: (Monad m, MonadPlus p) => (acc -> x -> m (acc, y)) -> acc -> [x] -> m (acc, p y) Source #
findDouble :: Eq a => [a] -> Maybe a Source #
findMultiples :: Eq a => [a] -> [[a]] Source #