Python from Wise Guy's Viewpoint

Fergus Henderson fjh at cs.mu.oz.au
Mon Oct 27 13:10:29 EST 2003


gt5163b at prism.gatech.edu (Brian McNamara!) writes:

>prunesquallor at comcast.net once said:
>>(defun black-hole (x)
>>  #'black-hole)
>>
>>(for non lispers, the funny #' is a namespace operator.
>> The black-hole function gobbles an argument and returns
>> the black-hole function.)
>
>Finally, an example that I don't think you can type in Haskell.  
>You score a point for that.  :)

I don't think it deserves any points, because as another poster said,
in Haskell that is equivalent to

	black_hole _ = undefined

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.




More information about the Python-list mailing list