You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1.7 KiB

The Slime 1.0 Manual

{{{slime_header}}}

  (define (fib x)
    (cond ((< x 1) 0)
          ((= x 1) 1)
          (else (+ (fib (- x 1))
                   (fib (- x 2))))))

  (print (if (> (fib 3) 1)
      "Hello Felixses\n"
    "Goodbye World\n"))

  (fib 12)
Some text to illustrate
=> Hello Felixses
144.000000

{{{slime_header}}}

  ;; Comment here
  (print "String here")
  (+ 1 2 3)
Some text to illustrate
=> String here6.000000