Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use defaultConfig

  • Loading branch information...
commit 70a89a489956444f38b4b1193514606ec9466bfe 1 parent f533179
Mike Ledger authored
Showing with 10 additions and 7 deletions.
  1. +10 −7 src/Language/Haskell/Repl.hs
17 src/Language/Haskell/Repl.hs
View
@@ -274,13 +274,16 @@ newRepl :: IO (Repl [String])
newRepl = do
inp <- newChan
out <- newChan
- repl' inp out $ Config
- defaultImports
- defaultFlags
- defaultBuildExpr
- defaultProcessOutput
- defaultPatience
- defaultLineLength
+ repl' inp out defaultConfig
+
+defaultConfig :: Config [String]
+defaultConfig = Config
+ defaultImports
+ defaultFlags
+ defaultBuildExpr
+ defaultProcessOutput
+ defaultPatience
+ defaultLineLength
defaultImports :: [String]
defaultImports
Please sign in to comment.
Something went wrong with that request. Please try again.