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:
parent
317462e73a
commit
0c22d4da4b
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user