A Symbol Proxy having a runtime value equal to the reflected symbol
Go to file
Jan Vincent Liwanag 7b2ae20f77 Add show instances
2020-03-03 17:49:31 +08:00
src Add show instances 2020-03-03 17:49:31 +08:00
test Add show instances 2020-03-03 17:49:31 +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"