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 was archived by the owner on Sep 1, 2020. It is now read-only.
shapeless simulates singleton types for Symbol literals by @@-tagging them with the singleton type of the corresponding string literal. It would be nice, particularly in the light of #15 and #27, to have richer native singleton types for Symbol literals too.
The text was updated successfully, but these errors were encountered:
I would be very interested in seeing more general support for returning singleton types from user-defined StringContext "literals". This should be possible already using whitebox macros, though if that could be done avoiding all the macro machinery, that would be much preferred.
Scala
Symbols
have first class literal syntax like strings, however unlike string literalsSymbol
literals lack useful singleton types,shapeless simulates singleton types for
Symbol
literals by @@-tagging them with the singleton type of the corresponding string literal. It would be nice, particularly in the light of #15 and #27, to have richer native singleton types forSymbol
literals too.The text was updated successfully, but these errors were encountered: