A Symbol Proxy having a runtime value equal to the reflected symbol
Go to file
Jan Vincent Liwanag 90f1546539
Merge pull request #1 from paluh/master
Simple "string" representation for number literals
2019-11-27 09:41:52 +08:00
src Add base Literal type. Fix exports and type names. Add IntLit. 2019-11-27 00:27:50 +01:00
test Add base Literal type. Fix exports and type names. Add IntLit. 2019-11-27 00:27:50 +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 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"