buchhaltung-0.0.5: Automates most of your plain text accounting data entry in ledger format.

Buchhaltung.Utils

Contents

• Ported from Temp to work with MonadBaseControl

Synopsis

# Documentation

modifyNth :: (a -> a) -> Int -> [a] -> [a] Source #

apply a funtion to the ith element of a list

fshow :: (Show a, IsString b) => a -> b Source #

intercalateL :: (ListLike a item, ListLike b a) => a -> b -> a Source #

map2 :: Arrow a => a b' c' -> a (b', b') (c', c') Source #

withFileM :: (MonadIO m, MonadBaseControl IO m) => FilePath -> IOMode -> (Handle -> m r) -> m r Source #

# Ported from Temp to work with MonadBaseControl

mconcat' :: Monoid t => [t] -> t Source #

(<&>) :: Functor f => (a -> b) -> f a -> f b infixr 0 Source #