haskell-cafe@haskell.org
[Top] [All Lists]

Re[2]: [Haskell-cafe] Re: monad subexpressions

Subject: Re[2]: [Haskell-cafe] Re: monad subexpressions
From: Miguel Mitrofanov
Date: Fri, 3 Aug 2007 16:11:37 +0400
>> rewrite *p++=*q++ in haskell?

MR> I always reject such codes when produced by my students. It is just
MR> unreadable. I even do not understand what you are trying to achieve.
MR> However, gcc seems it to compile to something like

MR> *p = *(p+1) ; *q = *(q+1)

MR> But for what is the '=' good for?

MR> So rewriting it in Haskell (of any size) is a good idea to actually
MR> understand the code. Please, could you do it.

MR> /BR


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/haskell-cafe

<Prev in Thread] Current Thread [Next in Thread>