Crazy idea: the UseByDate[Y, M, D] implicit. If you don't want to support your API for more than a year, require implicit evidence of UseByDate[2018, 12, 16]. Needs SIP-23. A macro autogenerates instances up to specified date. Implementation is left as an exercise for the reader.
-
Show this thread
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.