Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info> writes: > if type(ptr) == A: > if ptr != Anil: ... > if type(ptr) == B: > if ptr != Bnil: ... > etc. That would be insane. So how does Haskell do this?
That wouldn't make sense in Haskell: the types are known at compile time, so you wouldn't do that runtime switching on them. > At the bottom of the page is a link to a .mov version. Didn't see that earlier. Managed to download and mplayer is able to show it. Thanks! You might like: http://learnyouahaskell.com/chapters -- https://mail.python.org/mailman/listinfo/python-list