aivika-experiment-3.1: Simulation experiments for the Aivika library

CopyrightCopyright (c) 2012-2015, David Sorokin <david.sorokin@gmail.com>
LicenseBSD3
MaintainerDavid Sorokin <david.sorokin@gmail.com>
Stabilityexperimental
Safe HaskellSafe-Inferred
LanguageHaskell98

Simulation.Aivika.Experiment.Utils

Description

Tested with: GHC 7.6.3

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.