Returns true if the characters of a occur in b in order (not necessarily contiguously),
compared case-insensitively via Char.toLower.
This function assumes that a and b have size at most USize.size, which should be a safe
assumption.
Equations
- Lean.String.charactersIn a b = Lean.String.charactersIn.goFastScalar✝ a b a.utf8ByteSize.toUSize b.utf8ByteSize.toUSize 0 0 ⋯ ⋯
Instances For
- hoverInfo : HoverInfo
- ctx : Elab.ContextInfo
- info : Elab.CompletionInfo
Instances For
Equations
Instances For
Get type names for resolving id in s.id x₁ ... xₙ notation.
Equations
- Lean.Server.Completion.getDotCompletionTypeNames type = do let __do_lift ← (Lean.Server.Completion.getDotCompletionTypeNames.visit✝ type).run #[] pure __do_lift.snd
Instances For
Gets type names for resolving id in .id x₁ ... xₙ notation.
The process mimics the dotted identifier notation elaboration procedure at Lean.Elab.App.
Catches and ignores all errors, so no need to run this within try/catch.
Equations
- Lean.Server.Completion.getDotIdCompletionTypeNames type = do let __do_lift ← (Lean.Server.Completion.getDotIdCompletionTypeNames.visit✝ type).run #[] pure __do_lift.snd