squants icon indicating copy to clipboard operation
squants copied to clipboard

Singular versions of natural-language-style converters

Open nornagon opened this issue 11 years ago • 3 comments

For cases like 1 minute.

nornagon avatar Apr 10 '14 16:04 nornagon

I did this for times in transcriptic/squants@e72684c6, but there's a lot more to be done for the other units.

nornagon avatar Apr 11 '14 19:04 nornagon

Yes, I was torn over offering conversions like these as it seemed a bit redundant to the singular value minute that already exists. My initial intent was to offer the singular term for cross-type ratios:

val speed = 10.meters / minute

Quantities of singular amount can be created with val time = 1 minutes or val time = minute which I agree is not quite as natural as it could be.

The only downside I see is the effort, but I do think it is worth doing.

garyKeorkunian avatar Apr 12 '14 12:04 garyKeorkunian

(whoops.)

nornagon avatar Apr 12 '14 17:04 nornagon