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

Pages: 1-

indenting shit

Name: Anonymous 2012-02-22 23:34

i've started using this really weird style of indenting lisp. it's like fucking k&r lisp up in the bitch.

(dicks (gay cocks)
    (i enjoy
        (big hard dicks)
        (cocks dicks)
    )
)

how am i supposed to be indenting this and or how do you fags indent your lisp

Name: Anonymous 2012-02-22 23:42

If you're actually sitting there lining up close parens with open opens, you're doing it wrong.

Name: Anonymous 2012-02-22 23:49

>>1
I've seen other people starting out with lisp doing this too. I'd say it works well until you start passing lambdas as parameters into functions.

Name: Anonymous 2012-02-23 0:50

maybe something like


(dicks (gay cocks)
    (i enjoy
        (big hard dicks)
        (cocks dicks)))

Name: Anonymous 2012-02-23 2:09

dicks (gay cocks)
  i enjoy
    big hard dicks
    cocks dicks


Lisp/Sexprs is fucking shit.

Name: Anonymous 2012-02-23 3:05

>>5
but then you have to parse it in order to read it, and the parsing is user customizable. No fun.
and how do you differentiate between (big hard dicks) and (big (hard dicks)) and ((big hard) dicks) and ((big hard dicks)) and ((((big) (hard (dicks)))))? No fun at all!!

Name: Anonymous 2012-02-23 3:31

Logically,

(i enjoy
  (big (hard dicks))
  ((big hard) dicks))

i enjoy
  big
    hard dicks
  (big hard) dicks

Name: Anonymous 2012-02-23 3:39

i enjoy
  big (hard dicks)
  (big hard) dicks)

Name: Anonymous 2012-02-23 3:50

>>7

Alright, that's cool. As long as you can fall back on sexps when they become necessary. That would make things much nicer. test driven it


(define (g a b j)
  (letrec ((x (lambda (h)
                (a (b a) ((a b) a))))
           (y (lambda (q)
                (if (x (q x))
                  y
                  (y (y x) x))))
           (z (g x y z)))
  (x ((y z) g))))



define (g a b j)
  letrec x lambda (h)
                a (b a)
                  (a b) a
         y lambda (q)
                if x (q x)
                  y
                  y (y x) x
         z g x y z
  x (y z) g


Yeah it's alright.

Name: Anonymous 2012-02-23 5:48

Name: Anonymous 2012-02-23 5:54

>>9
u fuked up
x lambda (h)

Name: Anonymous 2012-02-23 6:06

>>10
it's crap, son.  i could type a better syntax proposal for lisp with my 2-inch dick

Name: Anonymous 2012-02-23 8:28

Name: Anonymous 2012-02-23 10:20

LISP WITH FIOC JUST BECAUSE YOU CAN'T HANDLE PARENTHESES?  NO,  GO BACK TO PYTHON FACTOR.

Name: Anonymous 2012-02-23 11:47

>>6
>>7
>>9
>>8
People who have never seen Logo.

Name: Anonymous 2012-02-23 14:57

>>15
writing individual post numbers instead of just the range >>6-9
writing them OUT OF ORDER
I have an OCD complex and I love you

Name: Anonymous 2012-02-23 16:41

>>14
sexprs are unreadable fucking garbage

be off now, that toilet sure ain't gonna scrub itself!

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