Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- type Cursor = (UInt, UInt)
- cursorPosition :: Cursor -> Position
- type ErrorMsg = String
- requireDiagnostic :: (Foldable f, Show (f Diagnostic), HasCallStack) => f Diagnostic -> (DiagnosticSeverity, Cursor, Text, Maybe DiagnosticTag) -> Maybe ErrorMsg
- standardizeQuotes :: Text -> Text
Documentation
cursorPosition :: Cursor -> Position Source #
requireDiagnostic :: (Foldable f, Show (f Diagnostic), HasCallStack) => f Diagnostic -> (DiagnosticSeverity, Cursor, Text, Maybe DiagnosticTag) -> Maybe ErrorMsg Source #
standardizeQuotes :: Text -> Text Source #