1
1
mirror of https://github.com/github/semantic.git synced 2024-11-29 11:02:26 +03:00

Correct the docs.

This commit is contained in:
Rob Rix 2019-09-18 12:57:21 -04:00
parent 865f0e4c2d
commit 586db55ab3
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

View File

@ -3,10 +3,12 @@
Taggable allows projecting syntax terms to a list of named symbols. In order to
identify a new syntax as Taggable, you need to:
1. Give that syntax a non-derived Taggable instance and implement at least the
'symbolName' method.
1. Give that syntax a non-derived @TaggableBy 'Custom@ instance and implement at least the
'symbolName'' method.
2. Make sure that 'symbolsToSummarize' in Tagging.hs includes the string
2. Add an equation to 'TaggableInstance' for the type with the value ''Custom'.
3. Make sure that 'symbolsToSummarize' in Tagging.hs includes the string
constructor name of this syntax.
-}