A Symbol Proxy having a runtime value equal to the reflected symbol
Go to file
2019-11-13 19:24:30 +01:00
src/Literals Add Number.Literal 2019-11-13 19:24:30 +01:00
test Add Number.Literal 2019-11-13 19:24:30 +01:00
.gitignore Init 2019-11-13 13:56:38 +08:00
packages.dhall Init 2019-11-13 13:56:38 +08:00
README.md Add readme 2019-11-13 14:01:31 +08:00
spago.dhall Add Number.Literal 2019-11-13 19:24:30 +01:00

purescript-literal

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"