-
Notifications
You must be signed in to change notification settings - Fork 89
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
Applying HLint Suggestions does not work properly #33
Comments
Interestingly if I use diff --git a/bar.hs b/bar.hs
index 8a402a0..5c04dd0 100644
--- a/bar.hs
+++ b/bar.hs
@@ -7,7 +7,7 @@ main = do
let a = map read $ words a_temp :: [Int]
b_temp <- getLine
let b = map read $ words b_temp :: [Int]
- let l = foldl lcm (head a) (tail a) --THIS LINE IS TO BE REPLACED WITH foldl1
+ let l = foldl1 lcm a --THIS LINE IS TO BE REPLACED WITH foldl1
let g = foldl1 gcd b
let s = g `div` l
if s * l /= g I installed hlint and refact using The steps to reproduce are:
|
So you failed with the VS code addon? |
I didn't try VS code. I only checked bare
Oh, it should have been "stack install hlint apply-refact" https://github.com/mpickering/apply-refact package installs |
You should state why the bug is closed (for future readers) |
Cuz this is not a problem on this side |
Sometimes it doesnt delete the old code and just append everything after the entire code block
turns into
and another one:
turns into
I'm using Caps so that it would be easier to locate them
The text was updated successfully, but these errors were encountered: