tempo
tempo copied to clipboard
Simplify interface
I think we should choose between /2 and /3 functions and remove parse_* and format_* from the export list -- there should be only one way of doing things.
I'm not sure that this is a good idea because:
- we will break some code
- sometimes the former is handier and sometimes the latter.
- This will be a separate release.
- I don't see how
tempo:format(..., {tag, Value})is different fromtempo:format_now(..., Value); plus, the former looks more extensible.
Regarding 2nd point — well, sometimes it's just handier to avoid such boxing. But maybe you are right and we should drop it.