[Haskell-cafe] -Wall in IHaskell notebooks?
Sumit Sahrawat, Maths & Computing, IIT (BHU)
sumit.sahrawat.apm13 at iitbhu.ac.in
Sat Dec 5 21:25:52 UTC 2015
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 <capn.freako at gmail.com> wrote:
> 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 at 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 <capn.freako at gmail.com> 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 at 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)
>> <sumit.sahrawat.apm13 at iitbhu.ac.in> wrote:
>>
>>> Try :?
>>>
>>> On 5 December 2015 at 21:58, David Banas <capn.freako at gmail.com> wrote:
>>>
>>>> Does anyone know how to turn on “-Wall” in a IHaskell notebook?
>>>>
>>>> _______________________________________________
>>>> Haskell-Cafe mailing list
>>>> Haskell-Cafe at haskell.org
>>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>>>>
>>>
>>>
>>>
>>> --
>>> Regards
>>>
>>> Sumit Sahrawat
>>>
>>
>>
>>
>> --
>> Regards
>>
>> Sumit Sahrawat
>>
>>
>>
>
>
> --
> Regards
>
> Sumit Sahrawat
>
>
>
--
Regards
Sumit Sahrawat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20151206/6f0b3acf/attachment.html>
More information about the Haskell-Cafe
mailing list