1 2 3 4 5 6 7
module View.Plural ( plural ) where plural : Int -> String -> String -> String plural n single multiple = (toString n) ++ " " ++ if n <= 1 then single else multiple