Wilfred / suggest.el

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

suggest--permutations ;; TODO: this would be a good match for dash.el. #38

Closed Fuco1 closed 6 years ago

Fuco1 commented 6 years ago

FYI it has been done already :)

https://github.com/magnars/dash.el/pull/203

(-permutations '(1 2 3))

((1 2 3)
 (1 3 2)
 (2 1 3)
 (2 3 1)
 (3 1 2)
 (3 2 1))
Wilfred commented 6 years ago

Filed https://github.com/magnars/dash.el/issues/243.

Fuco1 commented 6 years ago

Will be fixed with the release so I'll close this.