aivika-experiment-5.4.1: Simulation experiments for the Aivika library
CopyrightCopyright (c) 2012-2017 David Sorokin <david.sorokin@gmail.com>
LicenseBSD3
MaintainerDavid Sorokin <david.sorokin@gmail.com>
Stabilityexperimental
Safe HaskellSafe-Inferred
LanguageHaskell2010

Simulation.Aivika.Experiment.Utils

Description

Tested with: GHC 8.0.1

It defines utility functions missed in the standard library.

Synopsis

Documentation

divideBy :: (a -> Bool) -> [a] -> [[a]] Source #

Divide into the groups removing those elements that satisfy the predicate.

replace :: String -> String -> String -> String Source #

Replace the string.