packages feed

repline 0.1.2.0 → 0.1.3.0

raw patch · 2 files changed

+4/−4 lines, 2 filesdep ~base

Dependency ranges changed: base

Files

repline.cabal view
@@ -1,5 +1,5 @@ name:                repline-version:             0.1.2.0+version:             0.1.3.0 synopsis:            Haskeline wrapper for GHCi-like REPL interfaces. license:             MIT license-file:        LICENSE@@ -24,7 +24,7 @@   exposed-modules:     System.Console.Repline   -- other-modules:          build-depends:-    base       >= 4.6 && <4.7,+    base       >= 4.6 && <4.8,     containers >= 0.5 && <0.6,     mtl        >= 2.2 && <2.3,     haskeline  >= 0.7 && <0.8
src/System/Console/Repline.hs view
@@ -245,9 +245,9 @@   = Word (WordCompleter m)       -- ^ Completion function takes single word.   | Cursor (LineCompleter m)     -- ^ Completion function takes tuple of full line.   | File                         -- ^ Completion function completes files in CWD.-  | Prefix                       -- ^ Conditional tab completion based on prefix.+  | Prefix       (CompletionFunc m)-      [(String, CompletionFunc m)]+      [(String, CompletionFunc m)] -- ^ Conditional tab completion based on prefix.  mkCompleter :: MonadIO m => CompleterStyle m -> CompletionFunc m mkCompleter (Word f)          = completeWord (Just '\\') " \t()[]" (_simpleComplete f)