Clojure

print docstring should specify nil return value

Details

  • Type: Enhancement Enhancement
  • Status: Open Open
  • Priority: Trivial Trivial
  • Resolution: Unresolved
  • Affects Version/s: Release 1.6
  • Fix Version/s: None
  • Component/s: None
  • Labels:

Description

The docstring for print does not mention its return value. The docstring should clarify whether print dependably returns nil or shouldn't be depended on to (lest, for example, something leak out as the inadvertent return value of print's caller).

Activity

Alex Miller made changes -
Field Original Value New Value
Labels docstring docstring print
Alex Miller made changes -
Priority Minor [ 4 ] Trivial [ 5 ]
Issue Type Defect [ 1 ] Enhancement [ 4 ]
Hide
Édipo L Féderle added a comment -

Hi, I just add to docstring the mention to fact that it return nil

Show
Édipo L Féderle added a comment - Hi, I just add to docstring the mention to fact that it return nil
Édipo L Féderle made changes -
Attachment clj-1292.diff [ 13469 ]

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: