Fork me on GitHub
#emacs
<
2021-04-16
>
escherize15:04:02

@nathantech2005 I have a few abominations like this:

(defun fib! ()
      (interactive)
      (insert
       "(take 20 (map first (iterate (fn [[a b]] [b (+ a b)]) [0 1])))"))

vemv16:04:39

haha, how come that you have a snippet just for fibonacci? it's not a very usual need

hipster coder20:04:24

hmm... maybe he does a lot of interviews. And shows them that. Emacs users should go to the top of the pile :)

😆 3
escherize15:04:24

then, M-x fib! inserts that text.