A Symbol Proxy having a runtime value equal to the reflected symbol
Go to file
Jan Vincent Liwanag fbd7ba9dc3 Add eq instances
2020-03-03 17:43:37 +08:00
src Add eq instances 2020-03-03 17:43:37 +08:00
test Add eq instances 2020-03-03 17:43:37 +08: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 base Literal type. Fix exports and type names. Add IntLit. 2019-11-27 00:27:50 +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"