
Does anyone know how to turn on “-Wall” in a IHaskell notebook?

Try :?
On 5 December 2015 at 21:58, David Banas
Does anyone know how to turn on “-Wall” in a IHaskell notebook?
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
-- Regards Sumit Sahrawat

Using `:set -Wall` also has some issues, I've added them to the issue report on github: https://github.com/gibiansky/IHaskell/issues/610 We would need to conceal warnings from specific regions of code for it to work as expected. On 5 December 2015 at 22:03, Sumit Sahrawat, Maths & Computing, IIT (BHU) < sumit.sahrawat.apm13@iitbhu.ac.in> wrote:
Try :?
On 5 December 2015 at 21:58, David Banas
wrote: Does anyone know how to turn on “-Wall” in a IHaskell notebook?
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
-- Regards
Sumit Sahrawat
-- Regards Sumit Sahrawat

Hi Sumit,
Thanks for your reply!
I tried putting “:set -Wall” near the top of my first code cell (immediately after all my {-# LANGUAGE … #-} pragmas), but that hasn’t resulted in any extra output, compared to what I was seeing before. Do I need to enable something else, in order to have “:set -Wall” take effect?
Thanks,
-db
On Dec 5, 2015, at 8:54 AM, Sumit Sahrawat, Maths & Computing, IIT (BHU)
Using `:set -Wall` also has some issues, I've added them to the issue report on github: https://github.com/gibiansky/IHaskell/issues/610
We would need to conceal warnings from specific regions of code for it to work as expected.
On 5 December 2015 at 22:03, Sumit Sahrawat, Maths & Computing, IIT (BHU)
wrote: Try :? On 5 December 2015 at 21:58, David Banas
wrote: Does anyone know how to turn on “-Wall” in a IHaskell notebook? _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
-- Regards
Sumit Sahrawat
-- Regards
Sumit Sahrawat

Hi David,
When I tried it, I put it in an empty cell containing just the `:set -Wall`
command. I think it is intended to be usable freely in a cell, so you might
have landed on a bug.
Also, I'm assuming that you're familiar with the notebook interface, and
you executed the cell after making the edit. If not, take a look at the
interface intro tour in the toolbar above: Help > User Interface Tour.
I'll experiment and update the issue report with what I find.
On 6 December 2015 at 01:48, David Banas
Hi Sumit,
Thanks for your reply!
I tried putting “:set -Wall” near the top of my first code cell (immediately after all my {-# LANGUAGE … #-} pragmas), but that hasn’t resulted in any extra output, compared to what I was seeing before. Do I need to enable something else, in order to have “:set -Wall” take effect?
Thanks, -db
On Dec 5, 2015, at 8:54 AM, Sumit Sahrawat, Maths & Computing, IIT (BHU) < sumit.sahrawat.apm13@iitbhu.ac.in> wrote:
Using `:set -Wall` also has some issues, I've added them to the issue report on github: https://github.com/gibiansky/IHaskell/issues/610
We would need to conceal warnings from specific regions of code for it to work as expected.
On 5 December 2015 at 22:03, Sumit Sahrawat, Maths & Computing, IIT (BHU)
wrote: Try :?
On 5 December 2015 at 21:58, David Banas
wrote: Does anyone know how to turn on “-Wall” in a IHaskell notebook?
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
-- Regards
Sumit Sahrawat
-- Regards
Sumit Sahrawat
-- Regards Sumit Sahrawat

So, I just:
Put “:set -Wall” in the first code cell in my notebook, and all by itself.
Saved my notebook.
Restarted my kernel.
Selected “Run all” from the Cell menu.
No change in the output from any of my code cells.
-db
On Dec 5, 2015, at 12:27 PM, Sumit Sahrawat, Maths & Computing, IIT (BHU)
Hi David,
When I tried it, I put it in an empty cell containing just the `:set -Wall` command. I think it is intended to be usable freely in a cell, so you might have landed on a bug. Also, I'm assuming that you're familiar with the notebook interface, and you executed the cell after making the edit. If not, take a look at the interface intro tour in the toolbar above: Help > User Interface Tour.
I'll experiment and update the issue report with what I find.
On 6 December 2015 at 01:48, David Banas
wrote: Hi Sumit, Thanks for your reply!
I tried putting “:set -Wall” near the top of my first code cell (immediately after all my {-# LANGUAGE … #-} pragmas), but that hasn’t resulted in any extra output, compared to what I was seeing before. Do I need to enable something else, in order to have “:set -Wall” take effect?
Thanks, -db
On Dec 5, 2015, at 8:54 AM, Sumit Sahrawat, Maths & Computing, IIT (BHU)
wrote: Using `:set -Wall` also has some issues, I've added them to the issue report on github: https://github.com/gibiansky/IHaskell/issues/610
We would need to conceal warnings from specific regions of code for it to work as expected.
On 5 December 2015 at 22:03, Sumit Sahrawat, Maths & Computing, IIT (BHU)
wrote: Try :? On 5 December 2015 at 21:58, David Banas
wrote: Does anyone know how to turn on “-Wall” in a IHaskell notebook? _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
-- Regards
Sumit Sahrawat
-- Regards
Sumit Sahrawat
-- Regards
Sumit Sahrawat

I added some details to the issue report on GitHub. It turns out that the
issue of warnings not showing was discovered before, but got lost somewhere.
On 6 December 2015 at 02:13, David Banas
So, I just:
1. Put “:set -Wall” in the first code cell in my notebook, and all by itself. 2. Saved my notebook. 3. Restarted my kernel. 4. Selected “Run all” from the Cell menu.
No change in the output from any of my code cells.
-db
On Dec 5, 2015, at 12:27 PM, Sumit Sahrawat, Maths & Computing, IIT (BHU) < sumit.sahrawat.apm13@iitbhu.ac.in> wrote:
Hi David,
When I tried it, I put it in an empty cell containing just the `:set -Wall` command. I think it is intended to be usable freely in a cell, so you might have landed on a bug. Also, I'm assuming that you're familiar with the notebook interface, and you executed the cell after making the edit. If not, take a look at the interface intro tour in the toolbar above: Help > User Interface Tour.
I'll experiment and update the issue report with what I find.
On 6 December 2015 at 01:48, David Banas
wrote: Hi Sumit,
Thanks for your reply!
I tried putting “:set -Wall” near the top of my first code cell (immediately after all my {-# LANGUAGE … #-} pragmas), but that hasn’t resulted in any extra output, compared to what I was seeing before. Do I need to enable something else, in order to have “:set -Wall” take effect?
Thanks, -db
On Dec 5, 2015, at 8:54 AM, Sumit Sahrawat, Maths & Computing, IIT (BHU) < sumit.sahrawat.apm13@iitbhu.ac.in> wrote:
Using `:set -Wall` also has some issues, I've added them to the issue report on github: https://github.com/gibiansky/IHaskell/issues/610
We would need to conceal warnings from specific regions of code for it to work as expected.
On 5 December 2015 at 22:03, Sumit Sahrawat, Maths & Computing, IIT (BHU)
wrote: Try :?
On 5 December 2015 at 21:58, David Banas
wrote: Does anyone know how to turn on “-Wall” in a IHaskell notebook?
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
-- Regards
Sumit Sahrawat
-- Regards
Sumit Sahrawat
-- Regards
Sumit Sahrawat
-- Regards Sumit Sahrawat
participants (2)
-
David Banas
-
Sumit Sahrawat, Maths & Computing, IIT (BHU)