docs
This commit is contained in:
parent
3e0d464bfe
commit
bb0f93805c
1 changed files with 12 additions and 0 deletions
12
README.md
12
README.md
|
|
@ -183,8 +183,20 @@ The following Java classes are available:
|
|||
- `String`
|
||||
- `System`
|
||||
- `Thread`
|
||||
|
||||
Babashka supports `import` : `(import clojure.lang.ExceptionInfo)`.
|
||||
|
||||
Babashka supports a subset of the `ns` form where you may use `:require` and `:import`:
|
||||
|
||||
``` shellsession
|
||||
(ns foo
|
||||
(:require [clojure.string :as str])
|
||||
(:import clojure.lang.ExceptionInfo))
|
||||
```
|
||||
|
||||
For the unsupported parts of the ns form, you may use [reader
|
||||
conditionals](#reader-conditionals) to maintain compatibility with JVM Clojure.
|
||||
|
||||
More classes can be added by request.
|
||||
|
||||
Special vars:
|
||||
|
|
|
|||
Loading…
Reference in a new issue