mirror of
https://github.com/anoma/juvix.git
synced 2025-01-05 22:46:08 +03:00
Add fixity face (#2328)
This commit is contained in:
parent
34719bbc4d
commit
da5c1546b8
@ -26,6 +26,7 @@ data Face
|
||||
| FaceInductive
|
||||
| FaceFunction
|
||||
| FaceModule
|
||||
| FaceFixity
|
||||
| FaceAxiom
|
||||
| FaceDelimiter
|
||||
| FaceKeyword
|
||||
@ -51,6 +52,7 @@ faceSymbolStr = \case
|
||||
FaceJudoc -> Str.judoc
|
||||
FaceString -> Str.string
|
||||
FaceError -> Str.error
|
||||
FaceFixity -> Str.fixity
|
||||
|
||||
instance ToSExp Face where
|
||||
toSExp = faceSymbol . faceSymbolStr
|
||||
|
@ -17,7 +17,7 @@ nameKindFace = \case
|
||||
KNameAxiom -> Just FaceAxiom
|
||||
KNameLocal -> Nothing
|
||||
KNameAlias -> Nothing
|
||||
KNameFixity -> Nothing
|
||||
KNameFixity -> Just FaceFixity
|
||||
|
||||
fromCodeAnn :: CodeAnn -> Maybe EmacsProperty
|
||||
fromCodeAnn = \case
|
||||
|
Loading…
Reference in New Issue
Block a user