development workflow

1 view
Skip to first unread message

franco

unread,
Aug 11, 2010, 5:11:30 PM8/11/10
to GainesvilleHaskell
for most stuff i was using ghci with :edit/:reload/:main etc

for opengl on the mac it doesn't work well in interactive mode. what
do you guys do for a development workflow?

Brian Lewis

unread,
Aug 11, 2010, 5:20:13 PM8/11/10
to gainesvil...@googlegroups.com
On Wednesday, 11.08.10 at 14:11, franco wrote:
> what do you guys do for a development workflow?

Cabal helps. I usually develop in one pane and do something like
% cabal build && dist/build/foo/foo
or
% cabal install && foo

Francesco Lazzarino

unread,
Aug 11, 2010, 5:22:01 PM8/11/10
to gainesvil...@googlegroups.com
what about for quick syntax checking?
--
franco

Brian Lewis

unread,
Aug 11, 2010, 5:45:40 PM8/11/10
to gainesvil...@googlegroups.com
On Wednesday, 11.08.10 at 17:22, Francesco Lazzarino wrote:
> what about for quick syntax checking?

I'm not finding a super elegant method, but this is pretty fast:

% ghc -i./src -Wall -fno-code src/Main.hs

I'd alias it.

Reply all
Reply to author
Forward
0 new messages