Use Options.defaultOptions in PSCi
commitebb52f1c8d7c1039723ff1e4fe253edb7a8fed4b
authorTibor Erdesz <erdeszt@gmail.com>
dateSun 9 Aug 2015, 00:50 (11 years ago)
parentff27224
psci/PSCi.hs+1−1
@@ -251,7 +251,7 @@ modulesDir = ".psci_modules" ++ pathSeparator : "node_modules"
251251-- | This is different than the runMake in 'Language.PureScript.Make' in that it specifies the
252252-- options and ignores the warning messages.
253253runMake :: P.Make a -> IO (Either P.MultipleErrors a)
254−runMake mk = fmap (fmap fst) $ P.runMake (P.Options False False Nothing False False False Nothing) mk
254+runMake mk = fmap (fmap fst) $ P.runMake P.defaultOptions mk
255255
256256makeIO :: (IOError -> P.ErrorMessage) -> IO a -> P.Make a
257257makeIO f io = do