[Haskell-cafe] Re: monad subexpressions
Miguel Mitrofanov
miguelimo38 at yandex.ru
Fri Aug 3 08:11:37 EDT 2007
>> 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
More information about the Haskell-Cafe
mailing list