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

Stabilityexperimental
MaintainerDavid Sorokin <david.sorokin@gmail.com>
Safe HaskellSafe-Inferred

Simulation.Aivika.Experiment.Utils

Description

Tested with: GHC 7.4.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 -> StringSource

Replace the string.