/purescript-literals

A Symbol Proxy having a runtime value equal to the reflected symbol

Primary LanguagePureScriptMIT LicenseMIT

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"