Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type CompletionM = ReaderT PSCiState IO
- liftCompletionM :: (MonadState PSCiState m, MonadIO m) => CompletionM a -> m a
- completion :: (MonadState PSCiState m, MonadIO m) => CompletionFunc m
- completion' :: CompletionFunc CompletionM
- formatCompletions :: (String, [Completion]) -> [String]
Documentation
liftCompletionM :: (MonadState PSCiState m, MonadIO m) => CompletionM a -> m a Source #
completion :: (MonadState PSCiState m, MonadIO m) => CompletionFunc m Source #
Loads module, function, and file completions.
formatCompletions :: (String, [Completion]) -> [String] Source #
Convert Haskeline completion result to results as they would be displayed