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

Haskell Nomads

Name: Anonymous 2008-09-23 13:47

So can anybody tell me in a way one can understand it what a fucking monad does?

Name: Anonymous 2008-09-23 21:02

>>20
No matter what, you'd still have to instruct the Vagina class to use Penis' implementation
Why? Penis could implement how to Move and Cum, so could Vagina, while being completely unrelated and inaccessible from each other. See example in FIOC:

class Penis (object):
    def Fuck(self): #lol
        return 'Oh'

class Vagina (object):
    def Fuck(self):
        return 'Ah'

def Stuff(obj):
    return obj.Fuck()

Stuff(Penis()) # ==> 'Oh'
Stuff(Vagina()) # ==> 'Ah'


Penis and Vagina could be defined in two completely unrelated files from two completely unrelated projects who happen to share a library that implements Stuff.

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