Closed seagreen closed 6 years ago
We should keep fromRationalRepetend
in order not to break backwards compatibility. Some possible names for the two new functions:
fromRationalRepetendWithLimit
and fromRationalRepetendWithNoLimit
fromRationalRepetendLimit
and fromRationalRepetendNoLimit
fromRationalRepetendLimited
and fromRationalRepetendUnlimited
limitedFromRationalRepetend
and unlimitedFromRationalRepetend
Any preferences or other ideas?
I like fromRationalRepetendLimited
and fromRationalRepetendUnlimited
, but any of the fromRationalRepetend*
options sound good to me.
No other ideas at the moment, but I'll keep an eye out. Thanks for the great library!
fromRationalRepetendLimited
and fromRationalRepetendUnlimited
are added in scientific-0.3.6.1.
Awesome! Thanks again for your hard work:)
Currently:
This forces the caller to handle a
Right
result even the caller knows that will never happen because they usedNothing
to specify no limit.What about breaking it into two functions?
and