For example if I type from the python interpreter:
>> help(function)
I get the docstring of function defined as
def function():
""" docstring for function"""
Is it possible to have something similar in haskell??
The type of the object is very useful, but a little comment would be
even better...
> Is it possible to have something similar in haskell??
I like that idea. I submitted it as a ghci feature request
http://hackage.haskell.org/trac/ghc/ticket/2168
Best regards, J. W.
Ok thanks a lot, I hope it will be considered, it shouldn't be too
difficult to add...