Commit dea6db87 authored by batterseapower's avatar batterseapower
Browse files

Make changes to -fwarn-unused-do-bind and -fwarn-wrong-do-bind suggested by SPJ

parent d09b00a8
T3263-1.hs:25:2:
Warning: A do-notation statement threw away a result of a type which appears to contain something other than (), namely Int. You can suppress this warning by explicitly binding the result to _
Warning: A do-notation statement discarded a result of type Int.
Suppress this warning by saying "_ <- nonNullM",
or by using the flag -fno-warn-unused-do-bind
T3263-1.hs:35:2:
Warning: A do-notation statement threw away a result of a type which appears to contain something other than (), namely Int. You can suppress this warning by explicitly binding the result to _
Warning: A do-notation statement discarded a result of type Int.
Suppress this warning by saying "_ <- nonNullM",
or by using the flag -fno-warn-unused-do-bind
T3263-2.hs:25:2:
Warning: A do-notation statement threw away a result of a type that like a monadic action waiting to execute, namely m Int. You can suppress this warning by explicitly binding the result to _
Warning: A do-notation statement discarded a result of type m Int.
Suppress this warning by saying "_ <- return (return 10 :: m Int)",
or by using the flag -fno-warn-wrong-do-bind
T3263-2.hs:37:2:
Warning: A do-notation statement threw away a result of a type that like a monadic action waiting to execute, namely m Int. You can suppress this warning by explicitly binding the result to _
Warning: A do-notation statement discarded a result of type m Int.
Suppress this warning by saying "_ <- return (return 10 :: m Int)",
or by using the flag -fno-warn-wrong-do-bind
Supports Markdown
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