logoalt Hacker News

DonHopkinslast Tuesday at 8:58 PM4 repliesview on HN

(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((


Replies

vindarelyesterday at 11:36 AM

Use `C-c C-]` (`slime-close-all-parens-in-sexp`) in SLIME ;)

WalterGRlast Tuesday at 11:11 PM

That’s Scheme, not Common Lisp.

I’d recommend using close parens for your code sample. Those are portable between the two.

tmtvlyesterday at 11:25 AM

In Common Lisp it'd be:

  (funcall (funcall (funcall (funcall ; ...
...though I don't think that functions which return functions which return functions which return functions ad infinitum are a great idea. Simply taking a value and returning a value means you can use a pipelining operator:

  (~> some-data
    function-1
    function-2
    (function-3 _ some-other-data)
    ; ...
    function-n)
dapperdrakelast Tuesday at 9:12 PM

#|))))