Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Bestest Sepples Program Evar

Name: Anonymous 2010-07-27 22:39

I have maded the bestest sepples program ever.  Please compile and run to tell having of results.


template<class T> struct L { L<T*> operator->(); };
int main(int argc, char *argv[])
{
    L<int> i, j = i->yes;
    return 0;
}

Name: Anonymous 2010-07-28 14:11

>>12
Something like this?

data Yes y = Yes { yes :: y }
data L t = L { operatorDashGT :: t }

main = do
  let i = L undefined
      j = L (yes (operatorDashGT i))
  return ()

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List