Wilfred / suggest.el

discover elisp functions that do what you want
367 stars 14 forks source link

Consider passing common values to functions #23

Closed Wilfred closed 7 years ago

Wilfred commented 7 years ago

Given this:

;; Inputs (one per line):
'(a b c d)

;; Desired output:
'b

it would be nice to suggest (nth 1 '(a b c d)), but this requires us passing extra values to functions. 0, 1 and 2 are the obvious candidates.

This will also help with discovering (-partition 2 some-list).