Convert seconds to compound duration: Difference between revisions
m
→{{header|Haskell}}: Slight tidying of test
No edit summary |
m (→{{header|Haskell}}: Slight tidying of test) |
||
Line 1,619:
| otherwise = (1, rest)
-- TEST
translation :: Int -> String -> String
translation
intercalate " -> " $ [show, timePhrase (words local)] <*> [n]
main :: IO ()
main =
{{Out}}
<pre>7259 -> 2 hr, 59 sec
|