Skip to content

Implements :type [+v/+d] in Eval Plugin #361

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Aug 29, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use T.strip instead of T.stripEnd
  • Loading branch information
konn committed Aug 29, 2020
commit c68d3b4fea6f08d57bf2514cc803c822bfcd5834
2 changes: 1 addition & 1 deletion src/Ide/Plugin/Eval.hs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ instance E.Exception GhciLikeCmdException
parseGhciLikeCmd :: Text -> Maybe (Text, Text)
parseGhciLikeCmd input = do
(':', rest) <- T.uncons $ T.stripStart input
pure $ second T.stripEnd $ T.break isSpace rest
pure $ second T.strip $ T.break isSpace rest

strictTry :: NFData b => IO b -> IO (Either String b)
strictTry op = E.catch
Expand Down