1
1
mirror of https://github.com/github/semantic.git synced 2024-12-20 13:21:59 +03:00

Define __semantic_self

Co-Authored-By: Rob Rix <rob.rix@github.com>
This commit is contained in:
Rick Winfrey 2018-12-13 11:32:24 -08:00
parent 317462e73a
commit 0c22d4da4b

View File

@ -6,6 +6,7 @@ module Data.Abstract.Name
, name
, nameI
, formatName
, __semantic_self
) where
import Control.Effect
@ -70,3 +71,6 @@ instance Hashable Name where
instance ToJSON Name where
toJSON = toJSON . formatName
toEncoding = toEncoding . formatName
__semantic_self :: Name
__semantic_self = name "__self"