Safe Haskell | None |
---|---|
Language | Haskell2010 |
Language.PureScript.Ide.Matcher
Description
Matchers for psc-ide commands
Synopsis
- data Matcher a
- runMatcher :: Matcher a -> [Match a] -> [Match a]
- flexMatcher :: Text -> Matcher IdeDeclarationAnn
Documentation
Instances
FromJSON (Matcher IdeDeclarationAnn) # | |
Defined in Language.PureScript.Ide.Matcher Methods parseJSON :: Value -> Parser (Matcher IdeDeclarationAnn) # parseJSONList :: Value -> Parser [Matcher IdeDeclarationAnn] # | |
Monoid (Matcher a) # | |
Semigroup (Matcher a) # | |
runMatcher :: Matcher a -> [Match a] -> [Match a] #
flexMatcher :: Text -> Matcher IdeDeclarationAnn #
Matches any occurrence of the search string with intersections
The scoring measures how far the matches span the string where closer is better. Examples: flMa matches flexMatcher. Score: 14.28 sons matches sortCompletions. Score: 6.25