JanetDocsI'm feeling luckyGithub sign in

let



    macro
    boot.janet on line 209, column 1

    (let bindings & body)
    
    Create a scope and bind values to symbols. Each pair in bindings is
    assigned as if with def, and the body of the let form returns the last
    value.


1 exampleSign in to add an example
Loading...
(let [a 1 b 2 c 3] (+ a b c))  # => 6

(let
  [a 1
   b (+ a 1)
   c (+ b 1)]
  (+ a b c))  # => 6
cellularmitosis