Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Stylish )))

Name: Anonymous 2012-04-01 23:04

Hello /prog/,
How do you manage your closing parenthesis?

Do you let them hang:                                   
(define (fun1 b)
  (let ((a (fun2 1 2 3)))
    (case
      ((python) (display "FIOC"))
      ((bear) (display "LISP"))
      )
    )
  )


or you tuck them in:                                    
(define (fun1 b)
  (let ((a (fun2 1 2 3)))
    (case
      ((python) (display "FIOC"))
      ((bear) (display "LISP")))))


or, let out a bit at the end of the defun:              

(define (fun1 b)
  (let ((a (fun2 1 2 3)))
    (case
      ((python) (display "FIOC"))
      ((bear) (display "LISP"))))
  )

Name: Anonymous 2012-04-02 4:58


(
  define (
           fun1 b
         )
  (
    let (
          (
            a (
                fun2 1 2 3
              )
          )
        )
    (
      case (
             (
               python
             )
             (
               display "FIOC"
             )
           )
           (
             (
               bear
             )
             (
               display "LISP"
             )
           )
      )
    )
  )

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List