[Haskell-cafe] Building examples with Cabal

Tom Ellis tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk
Fri Oct 18 11:15:02 UTC 2013


On Wed, Oct 16, 2013 at 02:17:04PM +0200, Sven Panne wrote:
> Is there a way to build examples in a Haskell package with Cabal
> without actually running them?
[...]
> I just want to check if e.g. all GLUT examples in
> https://github.com/haskell-opengl/GLUT/tree/master/examples still build
> after some API changes.

If you just want to check whether they *would* build correctly, is
-fno-code of any help?  It will type check but not actually build.  It's
also very quick.

Tom


More information about the Haskell-Cafe mailing list