
3 Aug
2007
3 Aug
'07
8:11 a.m.
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