Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Operating rate definitions and utilities.
Documentation
Operating rate of unit generator. I = initialisation, K = control, A = audio, D = demand.
Data.List.sort [DR,AR,KR,IR] == [IR,KR,AR,DR]
rate_parse :: String -> Maybe Rate Source #
Case insensitive parser for rate.
Data.Maybe.mapMaybe rate_parse (words "ar kR IR Dr") == [AR,KR,IR,DR]