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

Partial application of arguments

Name: Anonymous 2013-07-29 16:52

I am trying to figure this out in C++, Haskell and Common Lisp, for anyone who cares. How'd you write a macro that does the following:


(foo (f _ y _))
==> (lambda (x z) (f x y z))


Same thing for Haskell, can it be done? What's the proper way to do this? What of C++?

Name: Anonymous 2013-07-29 19:27

United as one, divided by zero. We are Anonymous, We are legion, We do not forgive. We used to be actually cool, and worth the laugh and the reminder not to take things too seriously. But in our haste to remind others of their canny ability to ignore reality, we've expended all this energy, more energy than they do avoiding reality. So now we're kindof a sad mess of dumbasses still clinging to an outdated manifesto that may as well be the instructions on someone's VCR manual. We're sad. Sad sad people. We eat Doritos for breakfast, lunch and dinner. We write minimal annoying scripts that do fuckall except annoy people for 12 seconds. We're quick to brag about our endeavors because what press we've recieved has given us a false sense of validity. But don't fool yourselves. We're a bunch of sad, undersexed, testosterone-filled highschool dropouts who work fast food, live off our parents and smoke too much weed. Move along now. We've hit the snooze button on our 15 minutes of fame. Our voices are silent.

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