You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 13, 2020. It is now read-only.
tryParseDanish "tyvetyve" returns Some 40, which is surprising to say the least. It was never an explicit test case, though, but is a fairly standard idiom in the language, particularly when referring to years:
nitten-fireogfirs (1984)
tyve-seksten (2016)
atten-fireogtres (1864)
There are two potential ways to address such numbers:
If they are unambiguous, a better result from tryParseDanish "tyvetyve" would be Some 2020. While I suspect that they are unambiguous, anyone can, and is welcome to, prove me wrong with only a single counter-example.
If such numerals are ambiguous, the correct return value would be None.
The text was updated successfully, but these errors were encountered:
tryParseDanish "tyvetyve"
returnsSome 40
, which is surprising to say the least. It was never an explicit test case, though, but is a fairly standard idiom in the language, particularly when referring to years:There are two potential ways to address such numbers:
tryParseDanish "tyvetyve"
would beSome 2020
. While I suspect that they are unambiguous, anyone can, and is welcome to, prove me wrong with only a single counter-example.None
.The text was updated successfully, but these errors were encountered: