<div dir="ltr">The rule of thumb seems to be, if you do a stack build and it decides to build multiple packages, it hides this log info.<br><br>I understand why it does that, I should be able to build lens without worrying about tons of spurious output, but at the same time it is common for me to have an entire tree of packages I'm developing and it often obscures errors that are happening in my own packages. At the very least, if it is only building local packages, I'd very much like to see that output.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 14, 2016 at 3:42 PM, Patrick Pelletier <span dir="ltr"><<a href="mailto:code@funwithsoftware.org" target="_blank">code@funwithsoftware.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 9/14/16 12:21 PM, Christopher Allen wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What are you talking about?<br>
<br>
$ stack build<br>
simple-library-0.1.0.0: unregistering (local file changes: src/Lib.hs)<br>
simple-library-0.1.0.0: build<br>
Preprocessing library simple-library-0.1.0.0...<br>
[1 of 1] Compiling Lib ( src/Lib.hs,<br>
.stack-work/dist/x86_64-linux/<wbr>Cabal-1.24.0.0/build/Lib.o )<br>
<br>
/home/callen/work/simple-libra<wbr>ry/src/Lib.hs:7:3: warning: [-Wunused-do-bind]<br>
A do-notation statement discarded a result of type ‘[Char]’<br>
Suppress this warning by saying ‘_ <- return "woot"’<br>
Preprocessing executable 'simple-library-exe' for simple-library-0.1.0.0...<br>
</blockquote>
<br></span>
Weird. That's not how it works for me:<br>
<br>
whiteandnerdy:normalize ppelleti$ stack build<br>
normalization-insensitive-2.0: unregistering (local file changes: Data/Unicode/NormalizationInse<wbr>nsitive.hs Data/Unicode/NormalizationInse<wbr>nsitive/Internal.hs)<br>
normalization-insensitive-2.0: configure<br>
normalization-insensitive-2.0: build<br>
normalization-insensitive-2.0: copy/register<br>
photos-0.1.0.0: configure<br>
photos-0.1.0.0: build<br>
photos-0.1.0.0: copy/register<br>
Completed 2 action(s).<br>
whiteandnerdy:normalize ppelleti$ cat .stack-work/logs/normalization<wbr>-insensitive-2.0.log<br>
Configuring normalization-insensitive-2.0.<wbr>..<br>
Preprocessing library normalization-insensitive-2.0.<wbr>..<br>
[1 of 3] Compiling Data.Unicode.NormalizationInse<wbr>nsitive.Internal ( Data/Unicode/NormalizationInse<wbr>nsitive/Internal.hs, .stack-work/dist/x86_64-osx/Ca<wbr>bal-1.22.5.0/build/Data/Unicod<wbr>e/NormalizationInsensitive/Int<wbr>ernal.o )<br>
<br>
Data/Unicode/NormalizationInse<wbr>nsitive/Internal.hs:30:1: Warning:<br>
The import of ‘Data.Bool’ is redundant<br>
except perhaps to import instances from ‘Data.Bool’<br>
To import instances alone, use: import Data.Bool()<br>
<br>
Data/Unicode/NormalizationInse<wbr>nsitive/Internal.hs:38:1: Warning:<br>
The import of ‘otherwise, &&, <=, +’<br>
from module ‘Prelude’ is redundant<br>
<br>
Data/Unicode/NormalizationInse<wbr>nsitive/Internal.hs:57:1: Warning:<br>
Module ‘Data.ByteString.UTF8.Normaliz<wbr>e’ is deprecated:<br>
Convert ByteString to Text and then normalize<br>
<br>
Data/Unicode/NormalizationInse<wbr>nsitive/Internal.hs:135:1: Warning:<br>
Top-level binding with no type signature: mode :: NormalizationMode<br>
<br>
Data/Unicode/NormalizationInse<wbr>nsitive/Internal.hs:143:17: Warning:<br>
In the use of ‘B.normalize’<br>
(imported from Data.ByteString.UTF8.Normalize<wbr>):<br>
Deprecated: "Convert ByteString to Text and then normalize"<br>
<br>
Data/Unicode/NormalizationInse<wbr>nsitive/Internal.hs:147:33: Warning:<br>
In the use of ‘B.normalize’<br>
(imported from Data.ByteString.UTF8.Normalize<wbr>):<br>
Deprecated: "Convert ByteString to Text and then normalize"<br>
[2 of 3] Compiling Data.Unicode.NormalizationInse<wbr>nsitive.Unsafe ( Data/Unicode/NormalizationInse<wbr>nsitive/Unsafe.hs, .stack-work/dist/x86_64-osx/Ca<wbr>bal-1.22.5.0/build/Data/Unicod<wbr>e/NormalizationInsensitive/Uns<wbr>afe.o )<br>
[3 of 3] Compiling Data.Unicode.NormalizationInse<wbr>nsitive ( Data/Unicode/NormalizationInse<wbr>nsitive.hs, .stack-work/dist/x86_64-osx/Ca<wbr>bal-1.22.5.0/build/Data/Unicod<wbr>e/NormalizationInsensitive.o )<br>
<br>
Data/Unicode/NormalizationInse<wbr>nsitive.hs:25:31: Warning:<br>
‘normalize’ is exported by ‘Normalizable(normalize)’ and ‘normalize’<br>
In-place registering normalization-insensitive-2.0.<wbr>..<br>
Installing library in<br>
/Users/ppelleti/programming/ha<wbr>skell/normalize/.stack-work/in<wbr>stall/x86_64-osx/lts-6.1/7.10.<wbr>3/lib/x86_64-osx-ghc-7.10.3/<wbr>normalization-insensitive-2.0-<wbr>KLVtcrPtbow6nG8kRB6WPM<br>
Registering normalization-insensitive-2.0.<wbr>..<br>
whiteandnerdy:normalize ppelleti$<br>
<br>
I hadn't even been aware of these warnings in the package I was developing, until Harendra Kumar pointed them out to me, after I had uploaded a candidate to Hackage.<span class="HOEnZb"><font color="#888888"><br>
<br>
--Patrick</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<wbr>_________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bi<wbr>n/mailman/listinfo/haskell-caf<wbr>e</a><br>
Only members subscribed via the mailman list are allowed to post.</div></div></blockquote></div><br></div>