purescript-literal
November 13, 2019 ยท View on GitHub
A Symbol Proxy having a runtime value equal to the reflected symbol.
Example
import Literal
center :: Literal "center"
center = literal -- the runtime value of center is the string "center"
November 13, 2019 ยท View on GitHub
A Symbol Proxy having a runtime value equal to the reflected symbol.
import Literal
center :: Literal "center"
center = literal -- the runtime value of center is the string "center"