Commit 5f045009 authored by Andrew Gibiansky's avatar Andrew Gibiansky

now detects ipython version 0.* and cries about it

parent d87b8b98
This diff is collapsed.
......@@ -183,7 +183,8 @@ setupIPython DefaultIPython = do
case parseVersion output of
Just (2:_) -> putStrLn "Using system-wide IPython."
Just (1:_) -> badIPython "Detected old version of IPython. IHaskell requires 2.0.0 or up."
Nothing -> badIPython "Detected IPython, but could not parse version number."
Just (0:_) -> badIPython "Detected old version of IPython. IHaskell requires 2.0.0 or up."
_ -> badIPython "Detected IPython, but could not parse version number."
badIPython :: Text -> IO ()
badIPython reason = void $ do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment