[Haskell-cafe] Why Haskell?

Spencer Janssen spencerjanssen at gmail.com
Sat Jul 22 21:03:55 EDT 2006

On 7/22/06, Matthew Bromberg <mattcbro at earthlink.net> wrote:
> I used what I thought, initially was an elegant contruction technique in
> Haskell.  Something like this
> do
> ...
>     sequence $ [ reffill b s | s <- [0..(fi temits)-1], b <- [0..(fi nc)-1]]
> ...(push list on to matrix stack)

Try the sequence_ (note the underscore) function, it should be a big win here.

Spencer Janssen

More information about the Haskell-Cafe mailing list