Skip to content

Commit

Permalink
ns
Browse files Browse the repository at this point in the history
  • Loading branch information
darkleaf committed Oct 27, 2018
1 parent 44d0ccd commit e2b453c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/1-clojure/1-basic-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ func(x, y, z) -> (func x y z)
x + y -> (+ x y)
```

В Clojure есть поддержка неймспейсов.
Мы не будем разбирать их объявление, а сразу перейдем к вызову:

```clojure
(some-ns/some-fn some-arg)
```

Clojure - язык не ленивый, и аргументы функции вычисляются до ее вызова.
Рассмотрим на примере:

Expand Down

0 comments on commit e2b453c

Please sign in to comment.