[Haskell-community] [Haskell-cafe] technical thoughts on stack

Christopher Allen cma at bitemyapp.com
Wed Sep 14 19:21:58 UTC 2016


What are you talking about?

$ stack build
simple-library-0.1.0.0: unregistering (local file changes: src/Lib.hs)
simple-library-0.1.0.0: build
Preprocessing library simple-library-0.1.0.0...
[1 of 1] Compiling Lib              ( src/Lib.hs,
.stack-work/dist/x86_64-linux/Cabal-1.24.0.0/build/Lib.o )

/home/callen/work/simple-library/src/Lib.hs:7:3: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘[Char]’
    Suppress this warning by saying ‘_ <- return "woot"’
Preprocessing executable 'simple-library-exe' for simple-library-0.1.0.0...

On Wed, Sep 14, 2016 at 2:10 PM, Patrick Pelletier
<ppelleti at funwithsoftware.org> wrote:
> On 9/14/16 10:47 AM, David Feuer wrote:
>>
>>
>> While we're griping about stack: it seems to place compiler output from
>> -ddump-... in mysterious places that are hard to find without Google, and
>> (worse) it seems to do something with stack test output that even Google
>> can't discover.
>>
>
> Also, compiler warnings get squirreled away in a file that I have to go
> hunting for.  It would be nice to have an option to print warnings (for
> local packages, not dependencies) to stderr.
>
> --Patrick
>
>
> _______________________________________________
> Haskell-community mailing list
> Haskell-community at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-community



-- 
Chris Allen
Currently working on http://haskellbook.com


More information about the Haskell-community mailing list