Safe Haskell | None |
---|

- oneWeek :: NominalDiffTime
- oneMinute :: NominalDiffTime
- oneHour :: NominalDiffTime
- oneDay :: NominalDiffTime
- (===) :: (Typeable a, Typeable b, Eq b) => a -> b -> Bool
- replaceWith :: (a -> Bool) -> a -> [a] -> [a]
- tracePN :: Monad m => Int -> String -> m ()
- traceData :: Show a => String -> a -> a
- mapMaybeM :: Monad m => (a -> m (Maybe b)) -> [a] -> m [b]
- parse822Time :: String -> UTCTime
- sndMaybe :: (a, Maybe b) -> Maybe (a, b)
- mapStateIO :: Show s => State s a -> StateT s IO a
- getFreeNumber :: (Eq a, Num a, Enum a) => [a] -> a

# Documentation

oneWeek :: NominalDiffTimeSource

durations

oneMinute :: NominalDiffTimeSource

durations

oneHour :: NominalDiffTimeSource

durations

oneDay :: NominalDiffTimeSource

durations

(===) :: (Typeable a, Typeable b, Eq b) => a -> b -> BoolSource

an equality that tests also the types.

:: (a -> Bool) | Value to search |

-> a | Value to replace it with |

-> [a] | Input list |

-> [a] | Output list |

Replaces all instances of a value in a list by another value.

parse822Time :: String -> UTCTimeSource

getFreeNumber :: (Eq a, Num a, Enum a) => [a] -> aSource