Feature request: return values hinting

Bug #948265 reported by Jean-Philippe Paradis on 2012-03-06
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Current hinting
Proposed hinting

(get-decoded-time) => second, minute, hour, date, month, year, day, daylight-p, zone

(digit-char-p char &optional (radix 10))
(digit-char-p char &optional (radix 10)) => weight

(print object &optional stream)
(print object &optional stream) => object

(set-pprint-dispatch type function &optional (priority 0) (table *print-pprint-dispatch*))
(set-pprint-dispatch type function &optional (priority 0) (table *print-pprint-dispatch*)) => NIL

(values &rest values)
(values &rest values) => &rest values
(values &rest values) => value*

(ed &optional x)
(ed &optional x) => <implementation-dependent>

(loop-finish) =>|
(loop-finish) => <never returns>
(loop-finish) => <non-local exit>

(floor number &optional (divisor 1))
(floor number &optional (divisor 1)) => quotient, remainder

(gethash key hash-table &optional default)
(gethash key hash-table &optional default) => value, presentp

(pprint object &optional stream)
(pprint object &optional stream) => <no values>

I think it would be very useful, especially for newbies but also for more experienced lispers on occasion.
Also nice to learn some subtleties of the standard.
It should probably be on by default, with a way to turn it off.

Stas Boukarev (stassats) on 2012-03-06
Changed in slime:
importance: Undecided → Wishlist
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers