Skip to content

Instantly share code, notes, and snippets.

@snowleung
Created September 14, 2015 14:08
Show Gist options
  • Save snowleung/36dafd7acc6f981d2b33 to your computer and use it in GitHub Desktop.
Save snowleung/36dafd7acc6f981d2b33 to your computer and use it in GitHub Desktop.
try to make skeleton
(defun gg-input (li)
;;(setq v2 '())
(setq li (split-string li ","))
(setq format-str
(mapcar
(lambda (f) (format "\n:param %s: %s" f f))
li))
(require 'cl-lib)
(prin1-to-string format-str)
(cl-reduce '(lambda (v) v) format-str))
(gg-input '(1 2 3))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment