Chart-1.2.2: A library for generating 2D Charts and Plots

Safe HaskellSafe-Inferred

Graphics.Rendering.Chart.Utils

Description

Non chart specific utility functions.

Synopsis

Documentation

isValidNumber :: RealFloat a => a -> BoolSource

Checks if the given value is and actual numeric value and not a concept like NaN or infinity.

maybeM :: Monad m => b -> (a -> m b) -> Maybe a -> m bSource

Version of maybe that returns a monadic value.