diff --git a/cheatsheet.html b/cheatsheet.html index 9adbf7c9f..5df250ba6 100644 --- a/cheatsheet.html +++ b/cheatsheet.html @@ -480,7 +480,7 @@
- VeniceV 1.10.42 + VeniceV 1.10.43
Cheat Sheet
@@ -774,6 +774,8 @@ -->
+ + + + + + + + +
+ +
+
+

Cargo ArangoDB

+

ArangoDB Testcontainers

+
+ + +
(load-module :cargo-arangodb)
+ + + + + + + + + +
ArangoDB + +
+ + +
@@ -7599,67 +7667,67 @@

Tracing functions

-
(load-module :trace)
+
(load-module :trace)
- + - + - + - +
Tracing
Test
Util
Tee @@ -7680,76 +7748,76 @@

Functions to deal with the operating system

-
(load-module :shell)
+
(load-module :shell)
- + - + - +
Open
Process
Util @@ -7770,67 +7838,67 @@

ANSI codes, styles, and colorization helper functions

-
(load-module :ansi)
+
(load-module :ansi)
- + - + - + - +
Colors
Styles
Cursor
Progress @@ -7851,19 +7919,19 @@

Grep like search tool

-
(load-module :grep)
+
(load-module :grep)
- +
Grep @@ -7884,22 +7952,22 @@

Create, parse, and format QR references according to the Swiss payment stan -
(load-module :qrref)
+
(load-module :qrref)
- +
QR Ref @@ -7923,16 +7991,16 @@

Hexdump

-
(load-module :hexdump)
+
(load-module :hexdump)
- +
Hexdump @@ -7952,55 +8020,55 @@

Semver

Semantic versioning

-
(load-module :semver)
+
(load-module :semver)
- + - + - +
Semver
Validation
Test @@ -8020,88 +8088,88 @@

Geo IP

Geolocation mapping for IP adresses

-
(load-module :geoip)
+
(load-module :geoip)
- + - + - + - +
Lookup
Databases
DB Parser
Util @@ -8121,292 +8189,292 @@

Excel

Read/Write Excel files

-
(load-module :excel)
+
(load-module :excel)
- + - + - + - + - + - + - + - + - + - + - +
Writer
Writer Data
Writer I/O
Writer Util
Writer Formulas
Writer Styling
Writer Images
Writer Charts
Writer Charts Util
Reader
Reader Util @@ -8438,16 +8506,16 @@

Fonts

True Type Fonts

-
(load-module :fonts)
+
(load-module :fonts)
- +
Download @@ -8467,11 +8535,11 @@

Test

-
(load-module :test)
+
(load-module :test)
- + - +
Define
Run @@ -8556,61 +8624,61 @@

Configuration

Manages configurations with system property & env var support

-
(load-module :config)
+
(load-module :config)
- + - + - + - +
Build
File
Env
Properties @@ -8630,49 +8698,49 @@

Component

Managing lifecycle and dependencies of components

-
(load-module :component)
+
(load-module :component)
- + - + - +
Build
Protocol
Util @@ -8692,28 +8760,28 @@

App

Venice application archive

-
(load-module :app)
+
(load-module :app)
- + - +
Build
Manifest @@ -8733,16 +8801,16 @@

Benchmark

-
(load-module :benchmark)
+
(load-module :benchmark)
- +
Utils @@ -9771,7 +9839,7 @@

Function Details

*loaded-modules* -=> #{:crypt :csv :xchart :docker :trace :java :fonts :xml :semver :json :cidr :app :geoip :hexdump :test :inet :io :maven :grep :sandbox :ansi :benchmark :str :gradle :excel :core :regex :component :pdf :parsifal :shell :math :time :config :kira :qrref} +=> #{:crypt :csv :xchart :docker :trace :java :fonts :xml :semver :json :cidr :cargo :app :geoip :hexdump :test :inet :io :maven :grep :sandbox :ansi :benchmark :str :gradle :excel :core :regex :component :pdf :cargo-arangodb :parsifal :shell :math :time :config :kira :qrref}
@@ -10409,7 +10477,7 @@

Function Details

;; invoke static method (. :java.time.ZonedDateTime :now) -=> 2023-09-18T22:14:36.225+02:00[Europe/Zurich] +=> 2023-09-23T23:36:06.832+02:00[Europe/Zurich] ;; invoke static method (. :java.lang.Math :min 10 20) @@ -12093,7 +12161,7 @@

Function Details

-
+
ansi/ansi
@@ -12135,7 +12203,7 @@

Function Details

-
+
ansi/bg-color
@@ -12173,7 +12241,7 @@

Function Details

-
+
ansi/fg-color
@@ -12211,7 +12279,7 @@

Function Details

-
+
ansi/progress
@@ -12298,7 +12366,7 @@

Function Details

-
+
ansi/progress-bar
@@ -12395,7 +12463,7 @@

Function Details

-
+
ansi/style
@@ -12441,7 +12509,7 @@

Function Details

-
+
ansi/with-ansi
@@ -12479,7 +12547,7 @@

Function Details

-
+
ansi/without-ansi
@@ -12517,7 +12585,7 @@

Function Details

-
+
ansi/without-cursor
@@ -12725,7 +12793,7 @@

Function Details

-
+
app/build
@@ -12767,7 +12835,7 @@

Function Details

"data/logo.jpg" "staging/data/logo.jpg" } ".")
Loading Venice files works relative to the application. You can only load files that are in the app archive. If for instances "billing.venice" in the above example requires "utils/render.venice" just add
(load-file "utils/render.venice")
to "billing.venice".
-
The app can be run from the command line as:

> java -jar venice-1.10.42.jar -app billing.zip

Venice reads the archive and loads the archive's main file.
+
The app can be run from the command line as:

> java -jar venice-1.10.43.jar -app billing.zip

Venice reads the archive and loads the archive's main file.
Or with additional Java libraries (all JARs in 'libs' dir):

> java -cp "libs/*" com.github.jlangch.venice.Launcher -app billing.zip
@@ -12781,7 +12849,7 @@

Function Details

-
+
app/manifest
@@ -14264,7 +14332,7 @@

Function Details

-
+
benchmark/benchmark
@@ -15685,7 +15753,7 @@

Function Details

(defn f3 [x] (f4 x)) (defn f4 [x] (callstack)) (f1 100)) -=> [{:fn-name "callstack" :file "example" :line 30 :col 18} {:fn-name "user/f4" :file "example" :line 29 :col 18} {:fn-name "user/f3" :file "example" :line 28 :col 18} {:fn-name "user/f2" :file "example" :line 27 :col 18} {:fn-name "user/f1" :file "example" :line 31 :col 5}] +=> [{:fn-name "callstack" :file "example" :line 32 :col 18} {:fn-name "user/f4" :file "example" :line 31 :col 18} {:fn-name "user/f3" :file "example" :line 30 :col 18} {:fn-name "user/f2" :file "example" :line 29 :col 18} {:fn-name "user/f1" :file "example" :line 33 :col 5}]
@@ -15832,6 +15900,356 @@

Function Details

+
+ +
cargo-arangodb/start
+ + +
+
+ + (cargo-arangodb/start cname version mapped-port root-passwd memory cores log) + +
+
+ + +
+ + + +
+
Starts an ArangoDB container.
+
Start rules:
+
+
    +
  • If a container with another version exists for the container name remove the container and the image
    +
  • +
  • Pull the image if not yet locally available
    +
  • +
  • If the container already runs - use it
    +
  • +
  • If the container is available but does not run - start it
    (docker/start ...)
    +
  • +
  • If the container is not available - run it
    (docker/run ...)
    +
  • +
  • Finally check for a successful startup. The container log must contain the string ".
    is ready for business. Have fun.
    " on the last line.
    +
  • +
+
+
Args:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
cname
A unique container name
version
The ArangoDB version to use. E.g.: 3.10.10
mapped-port
The published (mapped) ArangoDB port on the host
root-passwd
The ArangoDB root password
memory
The detected memory ArangoDB is to use. E.g.: 8GB, 8000MB
cores
The detected number of cores ArangoDB is to use
log
A log function (may be
nil
)
+
+
+ + +
+ + +
+ + ;; Run an ArangoDB container +(cargo-arangodb/start "arangodb-test" + "3.10.10" + 8500 + "test" + "8GB" + 1 + (fn [s] (println "ArangoDB:" s))) + +
+ + + +
+
SEE ALSO
+ +
+ +
Stops an ArangoDB container
+
+ +
+ +
+ + + +
+ +
cargo-arangodb/stop
+ + +
+
+ + (cargo-arangodb/stop cname log) + +
+
+ + +
+ + + +
+
Stops an ArangoDB container
+
Args:
+
+ + + + + + + + + + + +
cname
A unique container name
log
A log function (may be
nil
)
+
+
+ + +
+ + +
+ + (cargo-arangodb/stop "arangodb-test" + (fn [s] (println "ArangoDB:" s))) + +
+ + + +
+
SEE ALSO
+ +
+ +
Starts an ArangoDB container.
+
+ +
+ +
+ + + +
+ +
cargo/start
+ + +
+
+ + (cargo/start cname repo version publish envs args ready? log) + +
+
+ + +
+ + + +
+
Starts a container.
+
Start rules:
+
+
    +
  • If a container with the passed name exists or is running in another version, stop that container and remove it together with the image
    +
  • +
  • Pull the image if it is not yet locally available
    +
  • +
  • If the container runs with the requested version already - use it
    +
  • +
  • If the container is available but does not run - start it using
    (docker/start ...)
    +
  • +
  • If the container is not available - run it using
    (docker/run ...)
    +
  • +
  • Finally check for a successful startup using the supplied
    ready?
    function. E.g.:
    ready?
    may scan the container logs for a successful startup message.
    +
  • +
+
+
Args:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
cname
A unique container name
repo
The image repository
version
The image version
publish
The port publish
envs
Env variables
args
Arguments for the process run in the container
ready?
A function to decide if the container is ready (may be
nil
)
log
A log function (may be
nil
)
+
+
+ + +
+ + +
+ + ;; Run an ArangoDB container +(cargo/start "arangodb-test" + "arangodb/arangodb" + "3.10.10" + "8500:8259" + ["ARANGO_ROOT_PASSWORD=test" + "ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY=8GB" + "ARANGODB_OVERRIDE_DETECTED_NUMBER_OF_CORES=1"] + ["--server.endpoint tcp://0.0.0.0:8259"] + (fn [cname] true) + (fn [s] (println "ArangoDB:" s))) + +
+ + + +
+
SEE ALSO
+ +
+ +
Stops a container
+
+ +
+ +
+ + + +
+ +
cargo/stop
+ + +
+
+ + (cargo/stop cname log) + +
+
+ + +
+ + + +
+
Stops a container
+
Args:
+
+ + + + + + + + + + + +
cname
A unique container name
log
A log function (may be
nil
)
+
+
+ + +
+ + +
+ + ;; Stop an ArangoDB container +(cargo/stop "arangodb-test" + (fn [s] (println "ArangoDB:" s))) + +
+ + + +
+
SEE ALSO
+ +
+ +
Starts a container.
+
+ +
+ +
+ + +
cartesian-product
@@ -17675,7 +18093,7 @@

Function Details

(complement even?) -=> anonymous-7460f709-802a-479e-a354-181c8f6e1151 +=> anonymous-7a19f67a-006b-446e-99a8-1eb274e24b3a (filter (complement even?) '(1 2 3 4)) => (1 3) @@ -17802,7 +18220,7 @@

Function Details

-
+
component/Component
@@ -17833,7 +18251,7 @@

Function Details

-
+
component/dep
@@ -17897,12 +18315,12 @@

Function Details

SEE ALSO
- +
Returns the dependencies of the component 'c' or nil if there aren't any dependencies.
- +
Returns id of the component 'c'.
@@ -17912,7 +18330,7 @@

Function Details

-
+
component/deps
@@ -17976,12 +18394,12 @@

Function Details

SEE ALSO
- +
Returns a dependency given by its key 'k' from the component 'c' dependencies.
- +
Returns id of the component 'c'.
@@ -17991,7 +18409,7 @@

Function Details

-
+
component/id
@@ -18049,12 +18467,12 @@

Function Details

SEE ALSO
- +
Returns a dependency given by its key 'k' from the component 'c' dependencies.
- +
Returns the dependencies of the component 'c' or nil if there aren't any dependencies.
@@ -18064,7 +18482,7 @@

Function Details

-
+
component/system-map
@@ -18122,7 +18540,7 @@

Function Details

SEE ALSO
- +
Associates a component dependency graph with the 'system' that has been created through a call to system-map. 'dependency-map' is a ...
@@ -18132,7 +18550,7 @@

Function Details

-
+
component/system-using
@@ -18225,7 +18643,7 @@

Function Details

SEE ALSO
- +
Returns a system constructed of components given as key/value pairs. The 'key' is a keyword (the component's id) referencing the component ...
@@ -18543,7 +18961,7 @@

Function Details

-
+
config/build
@@ -18653,32 +19071,32 @@

Function Details

SEE ALSO
- +
Reads a JSON configuration part from given file f.
- +
Reads a JSON configuration part from given path in classpath.
- +
Reads a configuration value from an environment variable and associates it to the given path in a map.
- +
Reads a configuration value from an system property and associates it to the given path in a map.
- +
Reads configuration part from environment variables, filtered by a prefix. nil may passed as prefix to get env vars.
- +
Reads configuration part from system properties, filtered by a prefix. nil may passed as prefix to get property vars.
@@ -18688,7 +19106,7 @@

Function Details

-
+
config/env
@@ -18753,17 +19171,17 @@

Function Details

SEE ALSO
- +
Reads a configuration value from an environment variable and associates it to the given path in a map.
- +
Reads configuration part from system properties, filtered by a prefix. nil may passed as prefix to get property vars.
- +
Merges given configuration parts and returns it as a map.
@@ -18773,7 +19191,7 @@

Function Details

-
+
config/env-var
@@ -18820,17 +19238,17 @@

Function Details

SEE ALSO
- +
Reads a configuration value from an system property and associates it to the given path in a map.
- +
Reads configuration part from environment variables, filtered by a prefix. nil may passed as prefix to get env vars.
- +
Merges given configuration parts and returns it as a map.
@@ -18840,7 +19258,7 @@

Function Details

-
+
config/file
@@ -18912,12 +19330,12 @@

Function Details

SEE ALSO
- +
Reads a JSON configuration part from given path in classpath.
- +
Merges given configuration parts and returns it as a map.
@@ -18932,7 +19350,7 @@

Function Details

-
+
config/properties
@@ -18971,12 +19389,12 @@

Function Details

SEE ALSO
- +
Reads a configuration value from an system property and associates it to the given path in a map.
- +
Merges given configuration parts and returns it as a map.
@@ -18986,7 +19404,7 @@

Function Details

-
+
config/property-var
@@ -19036,17 +19454,17 @@

Function Details

SEE ALSO
- +
Reads a configuration value from an environment variable and associates it to the given path in a map.
- +
Reads configuration part from system properties, filtered by a prefix. nil may passed as prefix to get property vars.
- +
Merges given configuration parts and returns it as a map.
@@ -19056,7 +19474,7 @@

Function Details

-
+
config/resource
@@ -19099,12 +19517,12 @@

Function Details

SEE ALSO
- +
Reads a JSON configuration part from given file f.
- +
Merges given configuration parts and returns it as a map.
@@ -20247,7 +20665,7 @@

Function Details

(current-time-millis) -=> 1695068116075 +=> 1695505007247
@@ -24378,11 +24796,11 @@

Function Details

(->> (lazy-seq #(rand-long 100)) (take 4) (doall)) -=> (9 27 52 14) +=> (5 58 58 86) (->> (lazy-seq #(rand-long 100)) (doall 4)) -=> (33 50 40 90) +=> (75 36 84 30)
@@ -24449,10 +24867,10 @@

Function Details

(dobench 100 (+ 1 1)) -=> (16929 658 135 109 139 13075 125 108 108 98 107 96 102 103 108 103 92 89 112 110 114 102 110 137 95 108 88 118 101 119 93 131 99 150 87 148 96 90 100 106 112 111 120 86 98 101 353 107 128 18806 141 139 113 103 125 105 125 93 138 128 106 103 100 100 123 115 94 87 105 101 103 100 116 117 113 91 93 120 103 112 95 121 103 114 120 102 132 111 252 129 123 126 120 125 165 133 139 143 121 161) +=> (22674 3066 321 122 124 135 123 115 119 121 115 119 116 122 115 116 116 115 127 115 116 124 115 117 116 114 127 112 123 113 120 117 120 116 122 118 111 143 132 114 144 121 114 114 116 115 129 117 119 108 115 115 111 113 115 183 94 109 104 105 138 107 109 120 105 140 101 108 131 105 141 111 110 105 126 105 111 112 103 108 106 116 104 114 103 101 131 113 194 122 111 119 109 112 137 114 111 109 121 144) (dobench 1000 2 100 (+ 1 1)) -=> (18619 548 88 70 67 71 68 67 63 60 65 64 61 67 62 62 60 60 61 61 85 59 61 62 63 62 61 62 61 86 63 61 82 59 62 62 60 64 64 64 62 63 65 66 63 60 64 60 60 63 62 60 62 61 63 62 61 60 60 61 66 62 61 61 80 61 62 82 62 64 62 62 59 62 69 62 63 62 60 65 61 91 61 60 63 61 76 60 61 58 58 61 60 62 59 61 62 63 63 64) +=> (29052 13483 130 74 70 97 74 72 77 73 72 68 83 70 73 74 74 68 71 78 70 71 85 69 66 86 68 71 70 66 64 66 70 95 70 71 70 68 68 71 65 97 69 70 96 69 71 69 68 70 68 70 67 95 69 71 66 125 66 69 81 71 67 67 71 73 67 68 98 74 72 72 68 70 69 70 95 68 70 69 72 70 70 117 69 67 70 68 68 68 70 94 67 67 71 72 70 67 67 97)
@@ -25322,16 +25740,16 @@

Function Details

- - + + - - + + - - + +
:archive {true, false}
Archive mode (copy all uid/gid information)
:archive {true, false}
Archive mode (copy all uid/gid information)
:follow-link {true, false}
Always follow symbol link in SRC_PATH
:follow-link {true, false}
Always follow symbol link in SRC_PATH
:quiet {true, false}
Suppress progress output during copy. Progress output is automatically suppressed if no terminal is attached
:quiet {true, false}
Suppress progress output during copy. Progress output is automatically suppressed if no terminal is attached
@@ -25410,16 +25828,16 @@

Function Details

- - + + - - + + - - + +
:off
No debug output
:off
No debug output
:on
Prints the raw docker command line to the current stdout channel ahead of running the command
:on
Prints the raw docker command line to the current stdout channel ahead of running the command
:on-no-exec
Prints the raw docker command line to the current stdout channel without running the command
:on-no-exec
Prints the raw docker command line to the current stdout channel without running the command
@@ -25689,8 +26107,9 @@

Function Details

- (println (docker/image-pull "arangodb/arangodb:3.10.10")) -(println (docker/image-pull "arangodb/arangodb")) + (println (docker/image-pull "arangodb/arangodb:3.10.10")) + + (println (docker/image-pull "arangodb/arangodb"))
@@ -26492,44 +26911,44 @@

Function Details

- - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + +
:detach {true, false}
Run container in background and return container ID
:detach {true, false}
Run container in background and return container ID
:attach {stdin, stdout, stderr}
Attach to STDIN, STDOUT or STDERR
:attach {stdin, stdout, stderr}
Attach to STDIN, STDOUT or STDERR
:publish port
Publish a container's port to the host. To expose port 8080 inside the container to port 3000 outside the container, pass "3000:8080"
:publish port
Publish a container's port to the host. To expose port 8080 inside the container to port 3000 outside the container, pass "3000:8080"
:envs vars
Set environment variable (a sequence of env var defs)
:envs vars
Set environment variable (a sequence of env var defs)
:memory limit
Memory limit
:memory limit
Memory limit
:name name
Assign a name to the container
:name name
Assign a name to the container
:quiet {true, false}
Suppress the pull output
:quiet {true, false}
Suppress the pull output
:volumes vol
Bind mount a volume (a sequence of volume defs)
:volumes vol
Bind mount a volume (a sequence of volume defs)
:workdir dir
Working directory inside the container
:workdir dir
Working directory inside the container
:args args
Arguments passed to container process (a sequence of args or a string)
:args args
Arguments passed to container process (a sequence of args or a string)
@@ -26926,12 +27345,12 @@

Function Details

- - + + - - + +
:format {:string, :json}
Returns the output either as a string or as JSON data
:format {:string, :json}
Returns the output either as a string or as JSON data
:version {:full, :server, :client}
Returns full (default), server, or client version
:version {:full, :server, :client}
Returns full (default), server, or client version
@@ -28833,7 +29252,7 @@

Function Details

Exception in thread "main" ValueException: [Callstack] - at: ex (example: line 26, col 43) + at: ex (example: line 28, col 43) => nil (println (ex-venice-stacktrace (ex :RuntimeException "message"))) @@ -28841,7 +29260,7 @@

Function Details

=> nil
(println (ex-venice-stacktrace (ex :ValueException [10 20]) :list)) -({:fn ex :file example :line 26 :col 43}) +({:fn ex :file example :line 28 :col 43}) => nil
@@ -28978,7 +29397,7 @@

Function Details

-
+
excel/add-area-chart
@@ -29099,27 +29518,27 @@

Function Details

SEE ALSO
- +
Build an area chart data series
@@ -29129,7 +29548,7 @@

Function Details

-
+
excel/add-bar-chart
@@ -29274,27 +29693,27 @@

Function Details

SEE ALSO
- +
Build a bar chart data series
@@ -29304,7 +29723,7 @@

Function Details

-
+
excel/add-column
@@ -29405,17 +29824,17 @@

Function Details

SEE ALSO
- +
Adds a sheet with optional attributes to an Excel.
- +
Add font with optional attributes to an Excel.
- +
Add a style with optional attributes to an Excel.
@@ -29425,7 +29844,7 @@

Function Details

-
+
excel/add-font
@@ -29511,12 +29930,12 @@

Function Details

SEE ALSO
- +
Add a style with optional attributes to an Excel.
- +
Adds a sheet with optional attributes to an Excel.
@@ -29526,7 +29945,7 @@

Function Details

-
+
excel/add-image
@@ -29582,32 +30001,32 @@

Function Details

SEE ALSO
- +
Writes the passed data items, a sequence of maps of name/value pairs, to the sheet.
- +
Render a single data item to the sheet
- +
Set a formula for a specific cell given by its row and col.
- +
Auto size the width of all columns in the sheet.
- +
Auto size the width of column col (1..n) in the sheet.
- +
Set the height of a row (1..n) in the sheet.
@@ -29617,7 +30036,7 @@

Function Details

-
+
excel/add-line-chart
@@ -29756,27 +30175,27 @@

Function Details

SEE ALSO
- +
Build a line chart data series
@@ -29786,7 +30205,7 @@

Function Details

-
+
excel/add-merge-region
@@ -29840,7 +30259,7 @@

Function Details

SEE ALSO
- +
Adds a sheet with optional attributes to an Excel.
@@ -29850,7 +30269,7 @@

Function Details

-
+
excel/add-pie-chart
@@ -29952,27 +30371,27 @@

Function Details

SEE ALSO
- +
Build a pie chart data series
@@ -29982,7 +30401,7 @@

Function Details

-
+
excel/add-sheet
@@ -30095,12 +30514,12 @@

Function Details

SEE ALSO
- +
Defines a column with optional attributes on the sheet.
- +
Add a merge region to the sheet.
@@ -30110,7 +30529,7 @@

Function Details

-
+
excel/add-style
@@ -30256,12 +30675,12 @@

Function Details

SEE ALSO
- +
Add font with optional attributes to an Excel.
- +
Adds a sheet with optional attributes to an Excel.
@@ -30271,7 +30690,7 @@

Function Details

-
+
excel/addr->string
@@ -30331,12 +30750,12 @@

Function Details

SEE ALSO
- +
Returns an Excel A-style column number string representation for a column number
- +
Set a formula for a specific cell given by its row and col.
@@ -30346,7 +30765,7 @@

Function Details

-
+
excel/area-data-series
@@ -30399,7 +30818,7 @@

Function Details

SEE ALSO
@@ -30409,7 +30828,7 @@

Function Details

-
+
excel/auto-size-column
@@ -30460,32 +30879,32 @@

Function Details

SEE ALSO
- +
Auto size the width of all columns in the sheet.
- +
Writes the passed data items, a sequence of maps of name/value pairs, to the sheet.
- +
Render a single data item to the sheet
- +
Writes a value to a specific cell given by its row and col.
- +
Set a formula for a specific cell given by its row and col.
- +
Set the height of a row (1..n) in the sheet.
@@ -30495,7 +30914,7 @@

Function Details

-
+
excel/auto-size-columns
@@ -30544,32 +30963,32 @@

Function Details

SEE ALSO
- +
Auto size the width of column col (1..n) in the sheet.
- +
Writes the passed data items, a sequence of maps of name/value pairs, to the sheet.
- +
Render a single data item to the sheet
- +
Writes a value to a specific cell given by its row and col.
- +
Set a formula for a specific cell given by its row and col.
- +
Set the height of a row (1..n) in the sheet.
@@ -30579,7 +30998,7 @@

Function Details

-
+
excel/bar-data-series
@@ -30632,7 +31051,7 @@

Function Details

SEE ALSO
@@ -30642,7 +31061,7 @@

Function Details

-
+
excel/bg-color
@@ -30714,17 +31133,17 @@

Function Details

SEE ALSO
- +
Add a style with optional attributes to an Excel.
- +
Add font with optional attributes to an Excel.
- +
Apply a defined cell style to a cell
@@ -30734,7 +31153,7 @@

Function Details

-
+
excel/cell-address-range
@@ -30772,7 +31191,7 @@

Function Details

SEE ALSO
- +
Returns the cell address in A1 style for a cell at row/col in a sheet
@@ -30782,7 +31201,7 @@

Function Details

-
+
excel/cell-empty?
@@ -30833,37 +31252,37 @@

Function Details

SEE ALSO
- +
Returns the sheet cell type as one of { :notfound, :blank, :string, :boolean, :numeric, :formula, :error, or :unknown }
- +
Returns the sheet cell value as string.
- +
Returns the sheet cell value as boolean.
- +
Returns the sheet cell value as long.
- +
Returns the sheet cell value as double.
- +
Returns the sheet cell value as a date (:java.time.LocalDate).
- +
Returns the sheet cell value as a datetime (:java.time.LocalDateTime).
@@ -30873,7 +31292,7 @@

Function Details

-
+
excel/cell-formula
@@ -30947,42 +31366,42 @@

Function Details

SEE ALSO
- +
Returns an Excel A1-style cell address string representation for a row and column address
- +
Returns a sum formula for the given cell area
- +
Writes the passed data items, a sequence of maps of name/value pairs, to the sheet.
- +
Render a single data item to the sheet
- +
Writes a value to a specific cell given by its row and col.
- +
Auto size the width of all columns in the sheet.
- +
Auto size the width of column col (1..n) in the sheet.
- +
Set the height of a row (1..n) in the sheet.
@@ -30992,7 +31411,7 @@

Function Details

-
+
excel/cell-formula-result-type
@@ -31044,42 +31463,42 @@

Function Details

SEE ALSO
- +
Returns the sheet cell type as one of { :notfound, :blank, :string, :boolean, :numeric, :formula, :error, or :unknown }
- +
Returns true if the sheet cell given by row/col is empty.
- +
Returns the sheet cell value as string.
- +
Returns the sheet cell value as boolean.
- +
Returns the sheet cell value as long.
- +
Returns the sheet cell value as double.
- +
Returns the sheet cell value as a date (:java.time.LocalDate).
- +
Returns the sheet cell value as a datetime (:java.time.LocalDateTime).
@@ -31089,7 +31508,7 @@

Function Details

-
+
excel/cell-style
@@ -31175,17 +31594,17 @@

Function Details

SEE ALSO
- +
Add a style with optional attributes to an Excel.
- +
Add font with optional attributes to an Excel.
- +
Writes a value to a specific cell given by its row and col.
@@ -31195,7 +31614,7 @@

Function Details

-
+
excel/cell-type
@@ -31256,42 +31675,42 @@

Function Details

SEE ALSO
- +
Returns the sheet cell type as one of { :notfound, :blank, :string, :boolean, :numeric, :formula, :error, or :unknown } after formula ...
- +
Returns true if the sheet cell given by row/col is empty.
- +
Returns the sheet cell value as string.
- +
Returns the sheet cell value as boolean.
- +
Returns the sheet cell value as long.
- +
Returns the sheet cell value as double.
- +
Returns the sheet cell value as a date (:java.time.LocalDate).
- +
Returns the sheet cell value as a datetime (:java.time.LocalDateTime).
@@ -31301,7 +31720,7 @@

Function Details

-
+
excel/col->string
@@ -31341,7 +31760,7 @@

Function Details

SEE ALSO
- +
Returns an Excel A1-style cell address string representation for a row and column address
@@ -31351,7 +31770,7 @@

Function Details

-
+
excel/col-width
@@ -31403,37 +31822,37 @@

Function Details

SEE ALSO
- +
Set the height of a row (1..n) in the sheet.
- +
Auto size the width of all columns in the sheet.
- +
Writes the passed data items, a sequence of maps of name/value pairs, to the sheet.
- +
Render a single data item to the sheet
- +
Writes a value to a specific cell given by its row and col.
- +
Set a formula for a specific cell given by its row and col.
- +
Auto size the width of column col (1..n) in the sheet.
@@ -31443,7 +31862,7 @@

Function Details

-
+
excel/convert->reader
@@ -31498,7 +31917,7 @@

Function Details

-
+
excel/convert->writer
@@ -31544,7 +31963,7 @@

Function Details

-
+
excel/evaluate-formulas
@@ -31592,7 +32011,7 @@

Function Details

SEE ALSO
- +
Creates a new Excel builder for the given type :xls or :xlsx.
@@ -31602,7 +32021,7 @@

Function Details

-
+
excel/freeze-pane
@@ -31650,7 +32069,7 @@

Function Details

SEE ALSO
- +
Add a merge region to the sheet.
@@ -31660,7 +32079,7 @@

Function Details

-
+
excel/line-data-series
@@ -31724,7 +32143,7 @@

Function Details

SEE ALSO
@@ -31734,7 +32153,7 @@

Function Details

-
+
excel/open
@@ -31777,17 +32196,17 @@

Function Details

SEE ALSO
- +
Returns the number of sheets in the Excel.
- +
Returns a sheet from the Excel reader referenced by its name or sheet index.
- +
Evaluate all formulas in the Excel.
@@ -31797,7 +32216,7 @@

Function Details

-
+
excel/pie-data-series
@@ -31846,7 +32265,7 @@

Function Details

SEE ALSO
@@ -31856,7 +32275,7 @@

Function Details

-
+
excel/read-boolean-val
@@ -31905,42 +32324,42 @@

Function Details

SEE ALSO
- +
Returns true if the sheet cell given by row/col is empty.
- +
Returns the sheet cell type as one of { :notfound, :blank, :string, :boolean, :numeric, :formula, :error, or :unknown }
- +
Returns the sheet cell value as string.
- +
Returns the sheet cell value as long.
- +
Returns the sheet cell value as double.
- +
Returns the sheet cell value as a date (:java.time.LocalDate).
- +
Returns the sheet cell value as a datetime (:java.time.LocalDateTime).
- +
Returns the sheet cell value.
@@ -31950,7 +32369,7 @@

Function Details

-
+
excel/read-date-val
@@ -32002,42 +32421,42 @@

Function Details

SEE ALSO
- +
Returns true if the sheet cell given by row/col is empty.
- +
Returns the sheet cell type as one of { :notfound, :blank, :string, :boolean, :numeric, :formula, :error, or :unknown }
- +
Returns the sheet cell value as string.
- +
Returns the sheet cell value as boolean.
- +
Returns the sheet cell value as long.
- +
Returns the sheet cell value as double.
- +
Returns the sheet cell value as a datetime (:java.time.LocalDateTime).
- +
Returns the sheet cell value.
@@ -32047,7 +32466,7 @@

Function Details

-
+
excel/read-datetime-val
@@ -32099,42 +32518,42 @@

Function Details

SEE ALSO
- +
Returns true if the sheet cell given by row/col is empty.
- +
Returns the sheet cell type as one of { :notfound, :blank, :string, :boolean, :numeric, :formula, :error, or :unknown }
- +
Returns the sheet cell value as string.
- +
Returns the sheet cell value as boolean.
- +
Returns the sheet cell value as long.
- +
Returns the sheet cell value as double.
- +
Returns the sheet cell value as a date (:java.time.LocalDate).
- +
Returns the sheet cell value.
@@ -32144,7 +32563,7 @@

Function Details

-
+
excel/read-double-val
@@ -32193,37 +32612,37 @@

Function Details

SEE ALSO
- +
Returns true if the sheet cell given by row/col is empty.
- +
Returns the sheet cell type as one of { :notfound, :blank, :string, :boolean, :numeric, :formula, :error, or :unknown }
- +
Returns the sheet cell value as string.
- +
Returns the sheet cell value as boolean.
- +
Returns the sheet cell value as long.
- +
Returns the sheet cell value as a date (:java.time.LocalDate).
- +
Returns the sheet cell value.
@@ -32233,7 +32652,7 @@

Function Details

-
+
excel/read-error-code
@@ -32283,42 +32702,42 @@

Function Details

SEE ALSO
- +
Returns true if the sheet cell given by row/col is empty.
- +
Returns the sheet cell type as one of { :notfound, :blank, :string, :boolean, :numeric, :formula, :error, or :unknown }
- +
Returns the sheet cell value as string.
- +
Returns the sheet cell value as boolean.
- +
Returns the sheet cell value as long.
- +
Returns the sheet cell value as double.
- +
Returns the sheet cell value as a date (:java.time.LocalDate).
- +
Returns the sheet cell value as a datetime (:java.time.LocalDateTime).
@@ -32328,7 +32747,7 @@

Function Details

-
+
excel/read-long-val
@@ -32395,42 +32814,42 @@

Function Details

SEE ALSO
- +
Returns true if the sheet cell given by row/col is empty.
- +
Returns the sheet cell type as one of { :notfound, :blank, :string, :boolean, :numeric, :formula, :error, or :unknown }
- +
Returns the sheet cell value as string.
- +
Returns the sheet cell value as boolean.
- +
Returns the sheet cell value as double.
- +
Returns the sheet cell value as a date (:java.time.LocalDate).
- +
Returns the sheet cell value as a datetime (:java.time.LocalDateTime).
- +
Returns the sheet cell value.
@@ -32440,7 +32859,7 @@

Function Details

-
+
excel/read-string-val
@@ -32489,42 +32908,42 @@

Function Details

SEE ALSO
- +
Returns true if the sheet cell given by row/col is empty.
- +
Returns the sheet cell type as one of { :notfound, :blank, :string, :boolean, :numeric, :formula, :error, or :unknown }
- +
Returns the sheet cell value as boolean.
- +
Returns the sheet cell value as long.
- +
Returns the sheet cell value as double.
- +
Returns the sheet cell value as a date (:java.time.LocalDate).
- +
Returns the sheet cell value as a datetime (:java.time.LocalDateTime).
- +
Returns the sheet cell value.
@@ -32534,7 +32953,7 @@

Function Details

-
+
excel/read-val
@@ -32584,42 +33003,42 @@

Function Details

SEE ALSO
- +
Returns true if the sheet cell given by row/col is empty.
- +
Returns the sheet cell type as one of { :notfound, :blank, :string, :boolean, :numeric, :formula, :error, or :unknown }
- +
Returns the sheet cell value as string.
- +
Returns the sheet cell value as boolean.
- +
Returns the sheet cell value as long.
- +
Returns the sheet cell value as double.
- +
Returns the sheet cell value as a date (:java.time.LocalDate).
- +
Returns the sheet cell value as a datetime (:java.time.LocalDateTime).
@@ -32629,7 +33048,7 @@

Function Details

-
+
excel/row-height
@@ -32680,37 +33099,37 @@

Function Details

SEE ALSO
- +
Set the width of a column (1..n) in the sheet.
- +
Auto size the width of all columns in the sheet.
- +
Writes the passed data items, a sequence of maps of name/value pairs, to the sheet.
- +
Render a single data item to the sheet
- +
Writes a value to a specific cell given by its row and col.
- +
Set a formula for a specific cell given by its row and col.
- +
Auto size the width of column col (1..n) in the sheet.
@@ -32720,7 +33139,7 @@

Function Details

-
+
excel/sheet
@@ -32772,67 +33191,67 @@

Function Details

SEE ALSO
- +
Returns the number of sheets in the Excel.
- +
Evaluate all formulas in the Excel.
- +
Returns the name of a sheet.
- +
Returns the first and the last row with data in a sheet as vector. Returns -1 values if no row exists.
- +
Returns the first and the last col with data in a sheet row as vector. Returns -1 values if the row does not exist or the row does ...
- +
Returns true if the sheet cell given by row/col is empty.
- +
Returns the sheet cell type as one of { :notfound, :blank, :string, :boolean, :numeric, :formula, :error, or :unknown }
- +
Returns the sheet cell value as string.
- +
Returns the sheet cell value as boolean.
- +
Returns the sheet cell value as long.
- +
Returns the sheet cell value as double.
- +
Returns the sheet cell value as a date (:java.time.LocalDate).
- +
Returns the sheet cell value as a datetime (:java.time.LocalDateTime).
@@ -32842,7 +33261,7 @@

Function Details

-
+
excel/sheet-col-range
@@ -32891,7 +33310,7 @@

Function Details

SEE ALSO
- +
Returns the first and the last row with data in a sheet as vector. Returns -1 values if no row exists.
@@ -32901,7 +33320,7 @@

Function Details

-
+
excel/sheet-count
@@ -32949,12 +33368,12 @@

Function Details

SEE ALSO
- +
Returns a sheet from the Excel reader referenced by its name or sheet index.
- +
Evaluate all formulas in the Excel.
@@ -32964,7 +33383,7 @@

Function Details

-
+
excel/sheet-index
@@ -33013,7 +33432,7 @@

Function Details

-
+
excel/sheet-name
@@ -33062,7 +33481,7 @@

Function Details

-
+
excel/sheet-row-range
@@ -33111,7 +33530,7 @@

Function Details

SEE ALSO
- +
Returns the first and the last col with data in a sheet row as vector. Returns -1 values if the row does not exist or the row does ...
@@ -33121,7 +33540,7 @@

Function Details

-
+
excel/sum-formula
@@ -33175,7 +33594,7 @@

Function Details

SEE ALSO
- +
Returns an Excel A1-style cell address string representation for a row and column address
@@ -33185,7 +33604,7 @@

Function Details

-
+
excel/write->bytebuf
@@ -33234,12 +33653,12 @@

Function Details

SEE ALSO
- +
Writes the excel to a file.
- +
Writes the excel to a Java :OutputStream.
@@ -33249,7 +33668,7 @@

Function Details

-
+
excel/write->file
@@ -33298,12 +33717,12 @@

Function Details

SEE ALSO
- +
Writes the excel to a Java :OutputStream.
- +
Writes the excel to a bytebuf. Returns the bytebuf.
@@ -33313,7 +33732,7 @@

Function Details

-
+
excel/write->stream
@@ -33363,12 +33782,12 @@

Function Details

SEE ALSO
- +
Writes the excel to a file.
- +
Writes the excel to a bytebuf. Returns the bytebuf.
@@ -33378,7 +33797,7 @@

Function Details

-
+
excel/write-data
@@ -33438,12 +33857,12 @@

Function Details

SEE ALSO
- +
Writes the excel to a Java :OutputStream.
- +
Writes the excel to a bytebuf. Returns the bytebuf.
@@ -33453,7 +33872,7 @@

Function Details

-
+
excel/write-item
@@ -33501,32 +33920,32 @@

Function Details

SEE ALSO
- +
Writes the passed data items, a sequence of maps of name/value pairs, to the sheet.
- +
Writes a value to a specific cell given by its row and col.
- +
Set a formula for a specific cell given by its row and col.
- +
Auto size the width of all columns in the sheet.
- +
Auto size the width of column col (1..n) in the sheet.
- +
Set the height of a row (1..n) in the sheet.
@@ -33536,7 +33955,7 @@

Function Details

-
+
excel/write-items
@@ -33585,32 +34004,32 @@

Function Details

SEE ALSO
- +
Render a single data item to the sheet
- +
Writes a value to a specific cell given by its row and col.
- +
Set a formula for a specific cell given by its row and col.
- +
Auto size the width of all columns in the sheet.
- +
Auto size the width of column col (1..n) in the sheet.
- +
Set the height of a row (1..n) in the sheet.
@@ -33620,7 +34039,7 @@

Function Details

-
+
excel/write-value
@@ -33692,32 +34111,32 @@

Function Details

SEE ALSO
- +
Writes the passed data items, a sequence of maps of name/value pairs, to the sheet.
- +
Render a single data item to the sheet
- +
Set a formula for a specific cell given by its row and col.
- +
Auto size the width of all columns in the sheet.
- +
Auto size the width of column col (1..n) in the sheet.
- +
Set the height of a row (1..n) in the sheet.
@@ -33727,7 +34146,7 @@

Function Details

-
+
excel/writer
@@ -33776,37 +34195,37 @@

Function Details

SEE ALSO
- +
Adds a sheet with optional attributes to an Excel.
- +
Add font with optional attributes to an Excel.
- +
Add a style with optional attributes to an Excel.
- +
Writes the excel to a file.
- +
Writes the excel to a Java :OutputStream.
- +
Writes the excel to a bytebuf. Returns the bytebuf.
- +
Evaluate all formulas in the Excel.
@@ -35101,7 +35520,7 @@

Function Details

-
+
fonts/download-font-family
@@ -36014,8 +36433,8 @@

Function Details

(fn [] (log "Worker" n))) (apply futures-wait (futures-fork 3 factory))) Worker0 -Worker1 -Worker2 +Worker2 +Worker1 => nil
@@ -36159,9 +36578,9 @@

Function Details

(defn factory [n] (fn [] (log "Worker" n))) (apply futures-wait (futures-fork 3 factory))) -Worker1 +Worker2 Worker0 -Worker2 +Worker1 => nil
@@ -36270,7 +36689,7 @@

Function Details

-
+
geoip/addr-ranges->trie
@@ -36315,7 +36734,7 @@

Function Details

-
+
geoip/build-maxmind-city-db-url
@@ -36357,12 +36776,12 @@

Function Details

SEE ALSO
- +
Downloads the MaxMind country or city GEO IP database. Returns the DB as bytebuffer. The type is either :country or :city.
- +
Downloads the MaxMind country or city GEO IP database to the given ZIP file. The type is either :country or :city.
@@ -36372,7 +36791,7 @@

Function Details

-
+
geoip/build-maxmind-country-db-url
@@ -36414,12 +36833,12 @@

Function Details

SEE ALSO
- +
Downloads the MaxMind country or city GEO IP database. Returns the DB as bytebuffer. The type is either :country or :city.
- +
Downloads the MaxMind country or city GEO IP database to the given ZIP file. The type is either :country or :city.
@@ -36429,7 +36848,7 @@

Function Details

-
+
geoip/country-to-location-resolver
@@ -36470,27 +36889,27 @@

Function Details

SEE ALSO
- +
Downloads the MaxMind country or city GEO IP database to the given ZIP file. The type is either :country or :city.
- +
Returns a resolve function that resolves an IP addresses to its associated country. The resolve function returns the country information ...
- +
Returns a resolve function that resolves an IP address to its associated country and latitude/longitude location. The resolve function ...
- +
Returns a resolve function that resolves an IP address to its associated city and latitude/longitude location. The resolve function ...
- +
Returns a resolve function that resolves an IP address to its associated city and latitude/longitude location. The resolve function ...
@@ -36500,7 +36919,7 @@

Function Details

-
+
geoip/download-google-country-db-to-csvfile
@@ -36541,7 +36960,7 @@

Function Details

SEE ALSO
- +
Downloads the Google country database. The database holds a mapping from country to location (latitude/longitude).
@@ -36551,7 +36970,7 @@

Function Details

-
+
geoip/download-maxmind-db
@@ -36592,12 +37011,12 @@

Function Details

SEE ALSO
- +
Build the URL for the MaxMind country GEO IP database. The download requires a license key that is sent as part of the URL.
- +
Build the URL for downloading the MaxMind city GEO IP database.
@@ -36607,7 +37026,7 @@

Function Details

-
+
geoip/download-maxmind-db-to-zipfile
@@ -36650,12 +37069,12 @@

Function Details

SEE ALSO
- +
Build the URL for the MaxMind country GEO IP database. The download requires a license key that is sent as part of the URL.
- +
Build the URL for downloading the MaxMind city GEO IP database.
@@ -36665,7 +37084,7 @@

Function Details

-
+
geoip/ip-to-city-loc-resolver
@@ -36733,27 +37152,27 @@

Function Details

SEE ALSO
- +
Downloads the MaxMind country or city GEO IP database to the given ZIP file. The type is either :country or :city.
- +
Returns a resolve function that resolves an IP addresses to its associated country. The resolve function returns the country information ...
- +
Returns a resolve function that resolves an IP address to its associated country and latitude/longitude location. The resolve function ...
- +
Returns a resolve function that resolves an IP address to its associated city and latitude/longitude location. The resolve function ...
- +
Returns a resolve function that resolves countries given by a country 2-digit ISO code to its latitude/longitude location. The resolve ...
@@ -36763,7 +37182,7 @@

Function Details

-
+
geoip/ip-to-city-loc-resolver-mem-optimized
@@ -36831,27 +37250,27 @@

Function Details

SEE ALSO
- +
Downloads the MaxMind country or city GEO IP database to the given ZIP file. The type is either :country or :city.
- +
Returns a resolve function that resolves an IP addresses to its associated country. The resolve function returns the country information ...
- +
Returns a resolve function that resolves an IP address to its associated country and latitude/longitude location. The resolve function ...
- +
Returns a resolve function that resolves an IP address to its associated city and latitude/longitude location. The resolve function ...
- +
Returns a resolve function that resolves countries given by a country 2-digit ISO code to its latitude/longitude location. The resolve ...
@@ -36861,7 +37280,7 @@

Function Details

-
+
geoip/ip-to-country-loc-resolver
@@ -36909,27 +37328,27 @@

Function Details

SEE ALSO
- +
Downloads the MaxMind country or city GEO IP database to the given ZIP file. The type is either :country or :city.
- +
Returns a resolve function that resolves an IP addresses to its associated country. The resolve function returns the country information ...
- +
Returns a resolve function that resolves an IP address to its associated city and latitude/longitude location. The resolve function ...
- +
Returns a resolve function that resolves an IP address to its associated city and latitude/longitude location. The resolve function ...
- +
Returns a resolve function that resolves countries given by a country 2-digit ISO code to its latitude/longitude location. The resolve ...
@@ -36939,7 +37358,7 @@

Function Details

-
+
geoip/ip-to-country-resolver
@@ -37001,27 +37420,27 @@

Function Details

SEE ALSO
- +
Downloads the MaxMind country or city GEO IP database to the given ZIP file. The type is either :country or :city.
- +
Returns a resolve function that resolves an IP address to its associated country and latitude/longitude location. The resolve function ...
- +
Returns a resolve function that resolves an IP address to its associated city and latitude/longitude location. The resolve function ...
- +
Returns a resolve function that resolves an IP address to its associated city and latitude/longitude location. The resolve function ...
- +
Returns a resolve function that resolves countries given by a country 2-digit ISO code to its latitude/longitude location. The resolve ...
@@ -37031,7 +37450,7 @@

Function Details

-
+
geoip/map-location-to-numerics
@@ -37073,7 +37492,7 @@

Function Details

-
+
geoip/parse-maxmind-city-db
@@ -37122,12 +37541,12 @@

Function Details

SEE ALSO
- +
Downloads the MaxMind country or city GEO IP database to the given ZIP file. The type is either :country or :city.
- +
Parses the MaxMind country-location CSV file. Returns a map with the country geoname-id as key and the country data as value.
@@ -37137,7 +37556,7 @@

Function Details

-
+
geoip/parse-maxmind-city-ip-db
@@ -37201,17 +37620,17 @@

Function Details

SEE ALSO
- +
Downloads the MaxMind country or city GEO IP database to the given ZIP file. The type is either :country or :city.
- +
Parses the MaxMind city-location CSV file. Returns a map with the city geoname-id as key and the city/country data as value.
- +
Parses the MaxMind country IP blocks database. Expects a Maxmind country IP database zip. ip-type is either :IPv4 or :IPv6. The zip ...
@@ -37221,7 +37640,7 @@

Function Details

-
+
geoip/parse-maxmind-country-db
@@ -37268,12 +37687,12 @@

Function Details

SEE ALSO
- +
Downloads the MaxMind country or city GEO IP database to the given ZIP file. The type is either :country or :city.
- +
Parses the MaxMind city-location CSV file. Returns a map with the city geoname-id as key and the city/country data as value.
@@ -37283,7 +37702,7 @@

Function Details

-
+
geoip/parse-maxmind-country-ip-db
@@ -37352,17 +37771,17 @@

Function Details

SEE ALSO
- +
Downloads the MaxMind country or city GEO IP database to the given ZIP file. The type is either :country or :city.
- +
Parses the MaxMind country-location CSV file. Returns a map with the country geoname-id as key and the country data as value.
- +
Parses the MaxMind city IP blocks database. Expects a MaxMind city IP database zip. ip-type is either :IPv4 or :IPv6. The zip may be ...
@@ -37599,7 +38018,7 @@

Function Details

-
+
grep/grep
@@ -37652,7 +38071,7 @@

Function Details

SEE ALSO
- +
Search for lines that match a regular expression in text files within ZIP files. The search chooses all files in the ZIP that match ...
@@ -37667,7 +38086,7 @@

Function Details

-
+
grep/grep-zip
@@ -37720,7 +38139,7 @@

Function Details

SEE ALSO
- +
Search for lines that match a regular expression in text files. The search starts from a base directory and chooses all files that ...
@@ -37911,7 +38330,7 @@

Function Details

-
+
hexdump/dump
@@ -44230,7 +44649,7 @@

Function Details

(io/temp-dir "test-") -=> /var/folders/rm/pjqr5pln3db4mxh5qq1j5yh80000gn/T/test-3905059451505425568 +=> /var/folders/rm/pjqr5pln3db4mxh5qq1j5yh80000gn/T/test-9201272437788956892
@@ -48494,7 +48913,7 @@

Function Details

(->> (lazy-seq rand-long) (take 4) (doall)) -=> (7789895446582734853 2392106824793383187 6612545416233020481 6877788489786748490) +=> (2084981800863149069 9117698869882282855 7553643644238320676 5680624549817686881) ; lazy sequence with a constant value (->> (lazy-seq (constantly 5)) @@ -52292,7 +52711,7 @@

Function Details

:else (+ (fibonacci (- n 1)) (fibonacci (- n 2))))))) (time (fibonacci 25))) -Elapsed time: 2.65ms +Elapsed time: 2.08ms => 75025
(do @@ -52562,7 +52981,7 @@

Function Details

(meta (vary-meta [1 2] assoc :foo 3)) -=> {:foo 3 :line 26 :column 28 :file "example"} +=> {:foo 3 :line 28 :column 28 :file "example"}
@@ -53490,13 +53909,13 @@

Function Details

(nano-time) -=> 7017041088889 +=> 68650199505970 (let [t (nano-time) _ (sleep 100) e (nano-time)] (format-nano-time (- e t) :precision 2)) -=> "101.18ms" +=> "103.39ms"
@@ -54688,7 +55107,7 @@

Function Details

=> (regex/count regex/find regex/find+ regex/find-all regex/find-all+ regex/find? regex/group regex/groups regex/matcher regex/matches regex/matches-not? regex/matches? regex/pattern regex/reset) (ns-list) -=> ("ansi" "app" "benchmark" "cidr" "component" "config" "crypt" "csv" "dag" "dec" "docker" "excel" "fonts" "geoip" "gradle" "grep" "hexdump" "inet" "io" "java" "json" "kira" "loadpath" "math" "maven" "parsifal" "pdf" "qrref" "regex" "sandbox" "semver" "sh" "shell" "str" "test" "time" "trace" "xchart" "xml") +=> ("ansi" "app" "benchmark" "cargo" "cargo-arangodb" "cidr" "component" "config" "crypt" "csv" "dag" "dec" "docker" "excel" "fonts" "geoip" "gradle" "grep" "hexdump" "inet" "io" "java" "json" "kira" "loadpath" "math" "maven" "parsifal" "pdf" "qrref" "regex" "sandbox" "semver" "sh" "shell" "str" "test" "time" "trace" "xchart" "xml")
@@ -58587,7 +59006,7 @@

Function Details

(pid) -=> "3768" +=> "37916"
@@ -58635,7 +59054,7 @@

Function Details

(sleep 2000) ; wait for 2 seconds (+ n 10)) (time (pmap long-running-job (range 4)))) -Elapsed time: 2.01s +Elapsed time: 2.00s => (10 11 12 13) ;; With `map`, the total elapsed time is roughly 4 * 2 seconds: @@ -60342,7 +60761,7 @@

Function Details

-
+
qrref/format
@@ -60388,12 +60807,12 @@

Function Details

SEE ALSO
- +
Creates a QR reference according to the Swiss payment standards.
- +
Parse a QR reference. The reference may be formatted.
@@ -60403,7 +60822,7 @@

Function Details

-
+
qrref/parse
@@ -60454,12 +60873,12 @@

Function Details

SEE ALSO
- +
Creates a QR reference according to the Swiss payment standards.
- +
Format a QR reference.
@@ -60469,7 +60888,7 @@

Function Details

-
+
qrref/qr-ref
@@ -60513,12 +60932,12 @@

Function Details

SEE ALSO
- +
Parse a QR reference. The reference may be formatted.
- +
Format a QR reference.
@@ -60999,10 +61418,10 @@

Function Details

(rand-double) -=> 0.09711755446508263 +=> 0.09782335917947571 (rand-double 100.0) -=> 28.447300235479535 +=> 73.6223946728404
@@ -61059,10 +61478,10 @@

Function Details

(rand-gaussian) -=> -2.4328270012162574 +=> 0.3492833880827254 (rand-gaussian 0.0 5.0) -=> -2.121283044728946 +=> 6.84381287918878
@@ -61119,10 +61538,10 @@

Function Details

(rand-long) -=> 746976819707863997 +=> 6843665498665025450 (rand-long 100) -=> 5 +=> 76
@@ -61596,7 +62015,7 @@

Function Details

;; sliding window (width 3) average (->> (partition 3 1 (repeatedly 10 #(rand-long 30))) (map (fn [window] (/ (reduce + window) (count window))))) -=> (22 19 21 14 18 14 20 15) +=> (9 16 13 16 8 15 11 14) ;; reduce all elements of a queue. calls (take! queue) to get the ;; elements of the queue. @@ -63199,7 +63618,7 @@

Function Details

(repeatedly 5 #(rand-long 11)) -=> (7 0 7 2 4) +=> (10 1 7 1 1) ;; compare with repeat, which only calls the 'rand-long' ;; function once, repeating the value five times. @@ -64693,7 +65112,7 @@

Function Details

-
+
semver/cmp
@@ -64735,17 +65154,17 @@

Function Details

SEE ALSO
- +
Is version a the same as version b?
- +
Is version a newer than version b?
- +
Is version a older than version b?
@@ -64755,7 +65174,7 @@

Function Details

-
+
semver/equal?
@@ -64797,17 +65216,17 @@

Function Details

SEE ALSO
- +
Is version a newer than version b?
- +
Is version a older than version b?
- +
Compares versions a and b, returning -1 if a is older than b, 0 if they're the same version, and 1 if a is newer than b.
@@ -64817,7 +65236,7 @@

Function Details

-
+
semver/newer?
@@ -64859,17 +65278,17 @@

Function Details

SEE ALSO
- +
Is version a older than version b?
- +
Is version a the same as version b?
- +
Compares versions a and b, returning -1 if a is older than b, 0 if they're the same version, and 1 if a is newer than b.
@@ -64879,7 +65298,7 @@

Function Details

-
+
semver/older?
@@ -64921,17 +65340,17 @@

Function Details

SEE ALSO
- +
Is version a newer than version b?
- +
Is version a the same as version b?
- +
Compares versions a and b, returning -1 if a is older than b, 0 if they're the same version, and 1 if a is newer than b.
@@ -64941,7 +65360,7 @@

Function Details

-
+
semver/parse
@@ -65002,12 +65421,12 @@

Function Details

SEE ALSO
- +
If 'o' is a valid version map, returns the map. Otherwise, it'll attempt to parse 'o' and return a version map.
- +
Checks the string 's' for semantic versioning formatting
@@ -65017,7 +65436,7 @@

Function Details

-
+
semver/valid-format?
@@ -65056,12 +65475,12 @@

Function Details

SEE ALSO
- +
Parses string 's' into a semantic version map.
- +
Checks if the supplied version map is valid regarding semantic versioning or not.
@@ -65071,7 +65490,7 @@

Function Details

-
+
semver/valid?
@@ -65110,12 +65529,12 @@

Function Details

SEE ALSO
- +
Parses string 's' into a semantic version map.
- +
Checks if the supplied version map is valid regarding semantic versioning or not.
@@ -65125,7 +65544,7 @@

Function Details

-
+
semver/version
@@ -65164,7 +65583,7 @@

Function Details

SEE ALSO
- +
Parses string 's' into a semantic version map.
@@ -66101,7 +66520,7 @@

Function Details

-
+
shell/alive?
@@ -66142,12 +66561,12 @@

Function Details

SEE ALSO
- +
Without argument returns the PID (type long) of this process. With a process-handle (:java.lang.ProcessHandle) returns the PID for ...
- +
Returns a snapshot of all processes visible to the current process. Returns a list of :java.lang.ProcessHandle for the processes.
@@ -66157,7 +66576,7 @@

Function Details

-
+
shell/descendant-processes
@@ -66202,12 +66621,12 @@

Function Details

SEE ALSO
- +
Returns the process info for a process represented by a PID or a process handle.
- +
Without argument returns the PID (type long) of this process. With a process-handle (:java.lang.ProcessHandle) returns the PID for ...
@@ -66217,7 +66636,7 @@

Function Details

-
+
shell/diff
@@ -66255,7 +66674,7 @@

Function Details

-
+
shell/kill
@@ -66296,17 +66715,17 @@

Function Details

SEE ALSO
- +
Without argument returns the PID (type long) of this process. With a process-handle (:java.lang.ProcessHandle) returns the PID for ...
- +
Requests the process to be killed forcibly. Returns true if the process is killed and false if the process stays alive. Returns nil ...
- +
Returns a snapshot of all processes visible to the current process. Returns a list of :java.lang.ProcessHandle for the processes.
@@ -66316,7 +66735,7 @@

Function Details

-
+
shell/kill-forcibly
@@ -66357,17 +66776,17 @@

Function Details

SEE ALSO
- +
Without argument returns the PID (type long) of this process. With a process-handle (:java.lang.ProcessHandle) returns the PID for ...
- +
Requests the process to be killed. Returns true if the process is killed and false if the process stays alive. Returns nil if the process ...
- +
Returns a snapshot of all processes visible to the current process. Returns a list of :java.lang.ProcessHandle for the processes.
@@ -66377,7 +66796,7 @@

Function Details

-
+
shell/open
@@ -66417,7 +66836,7 @@

Function Details

SEE ALSO
@@ -66427,7 +66846,7 @@

Function Details

-
+
shell/open-macos-app
@@ -66469,7 +66888,7 @@

Function Details

SEE ALSO
- +
Opens a file or an url with the associated platform specific application.
@@ -66479,7 +66898,7 @@

Function Details

-
+
shell/parent-process
@@ -66524,17 +66943,17 @@

Function Details

SEE ALSO
- +
Returns the process info for a process represented by a PID or a process handle.
- +
Without argument returns the PID (type long) of this process. With a process-handle (:java.lang.ProcessHandle) returns the PID for ...
- +
Returns a snapshot of all processes visible to the current process. Returns a list of :java.lang.ProcessHandle for the processes.
@@ -66544,7 +66963,7 @@

Function Details

-
+
shell/pid
@@ -66585,27 +67004,27 @@

Function Details

SEE ALSO
- +
Returns the process handle (:java.lang.ProcessHandle) for a PID or nil if there is no process.
- +
Returns the process info for a process represented by a PID or a process handle.
- +
Returns true if the process represented by a PID or a process handle is alive otherwise false.
- +
Requests the process to be killed. Returns true if the process is killed and false if the process stays alive. Returns nil if the process ...
- +
Returns a snapshot of all processes visible to the current process. Returns a list of :java.lang.ProcessHandle for the processes.
@@ -66615,7 +67034,7 @@

Function Details

-
+
shell/process-handle
@@ -66654,22 +67073,22 @@

Function Details

SEE ALSO
- +
Without argument returns the PID (type long) of this process. With a process-handle (:java.lang.ProcessHandle) returns the PID for ...
- +
Returns true if the process represented by a PID or a process handle is alive otherwise false.
- +
Returns the process info for a process represented by a PID or a process handle.
- +
Requests the process to be killed. Returns true if the process is killed and false if the process stays alive. Returns nil if the process ...
@@ -66679,7 +67098,7 @@

Function Details

-
+
shell/process-handle?
@@ -66712,7 +67131,7 @@

Function Details

-
+
shell/process-info
@@ -66799,12 +67218,12 @@

Function Details

SEE ALSO
- +
Without argument returns the PID (type long) of this process. With a process-handle (:java.lang.ProcessHandle) returns the PID for ...
- +
Returns the process handle (:java.lang.ProcessHandle) for a PID or nil if there is no process.
@@ -66814,7 +67233,7 @@

Function Details

-
+
shell/processes
@@ -66860,7 +67279,7 @@

Function Details

SEE ALSO
- +
Returns a snapshot of all processes visible to the current process. Returns a list of process infos for the processes.
@@ -66870,7 +67289,7 @@

Function Details

-
+
shell/processes-info
@@ -66954,7 +67373,7 @@

Function Details

SEE ALSO
- +
Returns a snapshot of all processes visible to the current process. Returns a list of :java.lang.ProcessHandle for the processes.
@@ -66964,7 +67383,7 @@

Function Details

-
+
shell/wait-for-process-exit
@@ -67005,17 +67424,17 @@

Function Details

SEE ALSO
- +
Without argument returns the PID (type long) of this process. With a process-handle (:java.lang.ProcessHandle) returns the PID for ...
- +
Requests the process to be killed. Returns true if the process is killed and false if the process stays alive. Returns nil if the process ...
- +
Returns a snapshot of all processes visible to the current process. Returns a list of :java.lang.ProcessHandle for the processes.
@@ -67054,13 +67473,13 @@

Function Details

(shuffle '(1 2 3 4 5 6)) -=> (5 2 3 1 6 4) +=> (1 4 6 2 3 5) (shuffle [1 2 3 4 5 6]) -=> [5 1 6 2 3 4] +=> [6 3 1 5 2 4] (shuffle "abcdef") -=> (#\a #\e #\b #\d #\c #\f) +=> (#\e #\d #\b #\a #\c #\f)
@@ -72955,22 +73374,22 @@

Function Details

SEE ALSO
- +
Runs all tests in the given namespaces; prints results. The tests are run grouped the namespace.
- +
Runs a single test; prints results. Returns a map summarizing the test results.
- +
Wrap test runs in a fixture function to perform setup and teardown. Fixtures are always bound to a namespace, hence tests from different ...
- +
Returns true if the given test summary indicates all tests were successful, false otherwise.
@@ -73010,7 +73429,7 @@

Function Details

-
+
test/run-test-var
@@ -73068,12 +73487,12 @@

Function Details

- +
Runs all tests in the given namespaces; prints results. The tests are run grouped the namespace.
- +
Wrap test runs in a fixture function to perform setup and teardown. Fixtures are always bound to a namespace, hence tests from different ...
@@ -73083,7 +73502,7 @@

Function Details

-
+
test/run-tests
@@ -73153,12 +73572,12 @@

Function Details

- +
Runs a single test; prints results. Returns a map summarizing the test results.
- +
Wrap test runs in a fixture function to perform setup and teardown. Fixtures are always bound to a namespace, hence tests from different ...
@@ -73168,7 +73587,7 @@

Function Details

-
+
test/successful?
@@ -73227,17 +73646,17 @@

Function Details

- +
Runs all tests in the given namespaces; prints results. The tests are run grouped the namespace.
- +
Runs a single test; prints results. Returns a map summarizing the test results.
- +
Wrap test runs in a fixture function to perform setup and teardown. Fixtures are always bound to a namespace, hence tests from different ...
@@ -73247,7 +73666,7 @@

Function Details

-
+
test/use-fixtures
@@ -73419,12 +73838,12 @@

Function Details

- +
Runs all tests in the given namespaces; prints results. The tests are run grouped the namespace.
- +
Runs a single test; prints results. Returns a map summarizing the test results.
@@ -74717,7 +75136,7 @@

Function Details

(time (+ 100 200)) -Elapsed time: 5.43µs +Elapsed time: 6.48µs => 300
@@ -74909,7 +75328,7 @@

Function Details

(time/date) -=> Mon Sep 18 22:15:27 CEST 2023 +=> Sat Sep 23 23:36:58 CEST 2023
@@ -74987,13 +75406,13 @@

Function Details

(time/day-of-month (time/local-date)) -=> 18 +=> 23 (time/day-of-month (time/local-date-time)) -=> 18 +=> 23 (time/day-of-month (time/zoned-date-time)) -=> 18 +=> 23
@@ -75067,13 +75486,13 @@

Function Details

(time/day-of-week (time/local-date)) -=> :MONDAY +=> :SATURDAY (time/day-of-week (time/local-date-time)) -=> :MONDAY +=> :SATURDAY (time/day-of-week (time/zoned-date-time)) -=> :MONDAY +=> :SATURDAY
@@ -75147,13 +75566,13 @@

Function Details

(time/day-of-year (time/local-date)) -=> 261 +=> 266 (time/day-of-year (time/local-date-time)) -=> 261 +=> 266 (time/day-of-year (time/zoned-date-time)) -=> 261 +=> 266
@@ -75348,19 +75767,19 @@

Function Details

(time/format (time/local-date) "dd-MM-yyyy") -=> "18-09-2023" +=> "23-09-2023" (time/format (time/zoned-date-time) "yyyy-MM-dd'T'HH:mm:ss.SSSz") -=> "2023-09-18T22:15:28.934CEST" +=> "2023-09-23T23:37:00.318CEST" (time/format (time/zoned-date-time) :ISO_OFFSET_DATE_TIME) -=> "2023-09-18T22:15:28.955+02:00" +=> "2023-09-23T23:37:00.342+02:00" (time/format (time/zoned-date-time) (time/formatter "yyyy-MM-dd'T'HH:mm:ss.SSSz")) -=> "2023-09-18T22:15:28.977CEST" +=> "2023-09-23T23:37:00.364CEST" (time/format (time/zoned-date-time) (time/formatter :ISO_OFFSET_DATE_TIME)) -=> "2023-09-18T22:15:29+02:00" +=> "2023-09-23T23:37:00.386+02:00"
@@ -75468,10 +75887,10 @@

Function Details

=> 0 (time/hour (time/local-date-time)) -=> 22 +=> 23 (time/hour (time/zoned-date-time)) -=> 22 +=> 23
@@ -75844,7 +76263,7 @@

Function Details

(time/local-date) -=> 2023-09-18 +=> 2023-09-23 (time/local-date 2018 8 1) => 2018-08-01 @@ -75859,7 +76278,7 @@

Function Details

=> 2013-08-01 (time/local-date (. :java.util.Date :new)) -=> 2023-09-18 +=> 2023-09-23
@@ -75963,7 +76382,7 @@

Function Details

(time/local-date-time) -=> 2023-09-18T22:15:27.352 +=> 2023-09-23T23:36:58.583 (time/local-date-time 2018 8 1) => 2018-08-01T00:00 @@ -75984,7 +76403,7 @@

Function Details

=> 2013-08-01T02:00 (time/local-date-time (. :java.util.Date :new)) -=> 2023-09-18T22:15:27.492 +=> 2023-09-23T23:36:58.761
@@ -76161,10 +76580,10 @@

Function Details

=> 0 (time/milli (time/local-date-time)) -=> 547 +=> 906 (time/milli (time/zoned-date-time)) -=> 567 +=> 927
@@ -76226,22 +76645,22 @@

Function Details

(time/minus (time/local-date) :days 2) -=> 2023-09-16 +=> 2023-09-21 (time/minus (time/local-date-time) :days 2) -=> 2023-09-16T22:15:29.651 +=> 2023-09-21T23:37:01.089 (time/minus (time/zoned-date-time) :days 2) -=> 2023-09-16T22:15:29.670+02:00[Europe/Zurich] +=> 2023-09-21T23:37:01.110+02:00[Europe/Zurich] (time/minus (time/local-date) (. :java.time.Period :ofDays 2)) -=> 2023-09-16 +=> 2023-09-21 (time/minus (time/local-date-time) (. :java.time.Period :ofDays 2)) -=> 2023-09-16T22:15:29.715 +=> 2023-09-21T23:37:01.152 (time/minus (time/zoned-date-time) (. :java.time.Period :ofDays 2)) -=> 2023-09-16T22:15:29.735+02:00[Europe/Zurich] +=> 2023-09-21T23:37:01.173+02:00[Europe/Zurich]
@@ -76293,10 +76712,10 @@

Function Details

=> 0 (time/minute (time/local-date-time)) -=> 15 +=> 36 (time/minute (time/zoned-date-time)) -=> 15 +=> 36
@@ -76639,22 +77058,22 @@

Function Details

(time/plus (time/local-date) :days 2) -=> 2023-09-20 +=> 2023-09-25 (time/plus (time/local-date-time) :days 2) -=> 2023-09-20T22:15:29.526 +=> 2023-09-25T23:37:00.960 (time/plus (time/zoned-date-time) :days 2) -=> 2023-09-20T22:15:29.548+02:00[Europe/Zurich] +=> 2023-09-25T23:37:00.982+02:00[Europe/Zurich] (time/plus (time/local-date) (. :java.time.Period :ofDays 2)) -=> 2023-09-20 +=> 2023-09-25 (time/plus (time/local-date-time) (. :java.time.Period :ofDays 2)) -=> 2023-09-20T22:15:29.590 +=> 2023-09-25T23:37:01.026 (time/plus (time/zoned-date-time) (. :java.time.Period :ofDays 2)) -=> 2023-09-20T22:15:29.610+02:00[Europe/Zurich] +=> 2023-09-25T23:37:01.047+02:00[Europe/Zurich]
@@ -76706,10 +77125,10 @@

Function Details

=> 0 (time/second (time/local-date-time)) -=> 28 +=> 59 (time/second (time/zoned-date-time)) -=> 28 +=> 59
@@ -76768,16 +77187,16 @@

Function Details

(time/to-millis (time/date)) -=> 1695068129907 +=> 1695505021351 (time/to-millis (time/local-date)) -=> 1694988000000 +=> 1695420000000 (time/to-millis (time/local-date-time)) -=> 1695068129946 +=> 1695505021397 (time/to-millis (time/zoned-date-time)) -=> 1695068129965 +=> 1695505021427
@@ -76818,13 +77237,13 @@

Function Details

(time/with-time (time/local-date) 22 00 15 333) -=> 2023-09-18T22:00:15.333 +=> 2023-09-23T22:00:15.333 (time/with-time (time/local-date-time) 22 00 15 333) -=> 2023-09-18T22:00:15.333 +=> 2023-09-23T22:00:15.333 (time/with-time (time/zoned-date-time) 22 00 15 333) -=> 2023-09-18T22:00:15.333+02:00[Europe/Zurich] +=> 2023-09-23T22:00:15.333+02:00[Europe/Zurich]
@@ -77169,7 +77588,7 @@

Function Details

(time/zoned-date-time) -=> 2023-09-18T22:15:27.569+02:00[Europe/Zurich] +=> 2023-09-23T23:36:58.845+02:00[Europe/Zurich] (time/zoned-date-time 2018 8 1) => 2018-08-01T00:00+02:00[Europe/Zurich] @@ -77193,10 +77612,10 @@

Function Details

=> 2013-08-01T02:00+02:00[Europe/Zurich] (time/zoned-date-time (. :java.util.Date :new)) -=> 2023-09-18T22:15:27.734+02:00[Europe/Zurich] +=> 2023-09-23T23:36:59.011+02:00[Europe/Zurich] (time/zoned-date-time "UTC") -=> 2023-09-18T20:15:27.754Z[UTC] +=> 2023-09-23T21:36:59.031Z[UTC] (time/zoned-date-time "UTC" 2018 8 1) => 2018-08-01T00:00Z[UTC] @@ -77220,7 +77639,7 @@

Function Details

=> 2013-08-01T00:00Z[UTC] (time/zoned-date-time "UTC" (. :java.util.Date :new)) -=> 2023-09-18T20:15:27.921Z[UTC] +=> 2023-09-23T21:36:59.196Z[UTC]
@@ -77482,7 +77901,7 @@

Function Details

(total-memory) -=> "1517.0MB" +=> "1373.0MB"
@@ -77502,7 +77921,7 @@

Function Details

-
+
trace/tee
@@ -77550,12 +77969,12 @@

Function Details

SEE ALSO
- +
Allows to branch off values passed through the forms of a -> macro
- +
Allows to branch off values passed through the form of a ->> macro
@@ -77565,7 +77984,7 @@

Function Details

-
+
trace/tee->
@@ -77612,12 +78031,12 @@

Function Details

SEE ALSO
- +
Allows to branch off values passed through the form of a ->> macro
- +
Allows to branch off values passed to tee to a printer.
@@ -77627,7 +78046,7 @@

Function Details

-
+
trace/tee->>
@@ -77674,12 +78093,12 @@

Function Details

SEE ALSO
- +
Allows to branch off values passed through the forms of a -> macro
- +
Allows to branch off values passed to tee to a printer.
@@ -77689,7 +78108,7 @@

Function Details

-
+
trace/trace
@@ -77739,12 +78158,12 @@

Function Details

SEE ALSO
- +
Manages the trace string limit for the current thread. Without argument returns the current limit. With argument sets the trace string ...
@@ -77754,7 +78173,7 @@

Function Details

-
+
trace/trace-str-limit
@@ -77795,12 +78214,12 @@

Function Details

SEE ALSO
- +
Sends name (optional) and value to the tracer function, then returns value. May be wrapped around any expression without affecting the result.
@@ -77810,7 +78229,7 @@

Function Details

-
+
trace/trace-var
@@ -77843,8 +78262,8 @@

Function Details

(trace/trace-var +) (+ 1 2)) -TRACE t53164: (core/+ 1 2) -TRACE t53164: | => 3 +TRACE t60379: (core/+ 1 2) +TRACE t60379: | => 3 => 3 (do @@ -77858,12 +78277,12 @@

Function Details

(trace/trace-var bar) (bar 5)) -TRACE t53188: (user/bar 5) -TRACE t53189: | (user/foo 5) -TRACE t53190: | | (core/+ 5 2) -TRACE t53190: | | | => 7 -TRACE t53189: | | => 7 -TRACE t53188: | => 7 +TRACE t60403: (user/bar 5) +TRACE t60404: | (user/foo 5) +TRACE t60405: | | (core/+ 5 2) +TRACE t60405: | | | => 7 +TRACE t60404: | | => 7 +TRACE t60403: | => 7 => 7
@@ -77874,27 +78293,27 @@

Function Details

SEE ALSO
- +
Returns true if the given var is currently traced, false otherwise
- +
Returns true if the given var can be traced, false otherwise
- +
Sends name (optional) and value to the tracer function, then returns value. May be wrapped around any expression without affecting the result.
- +
Manages the trace string limit for the current thread. Without argument returns the current limit. With argument sets the trace string ...
@@ -77904,7 +78323,7 @@

Function Details

-
+
trace/traceable?
@@ -77943,12 +78362,12 @@

Function Details

SEE ALSO
- +
Returns true if the given var is currently traced, false otherwise
@@ -77958,7 +78377,7 @@

Function Details

-
+
trace/traced?
@@ -77997,22 +78416,22 @@

Function Details

SEE ALSO
- +
Returns true if the given var can be traced, false otherwise
- +
Sends name (optional) and value to the tracer function, then returns value. May be wrapped around any expression without affecting the result.
@@ -78022,7 +78441,7 @@

Function Details

-
+
trace/untrace-var
@@ -78061,12 +78480,12 @@

Function Details

SEE ALSO
- +
Returns true if the given var is currently traced, false otherwise
@@ -78895,7 +79314,7 @@

Function Details

(used-memory) -=> "161.0MB" +=> "163.6MB"
@@ -78993,7 +79412,7 @@

Function Details

(uuid) -=> "560d4d97-1f4a-40bb-94ca-4166aa7e8f83" +=> "c34c4af7-4469-4603-9d42-8037cdbd4a4b"
@@ -80017,7 +80436,7 @@

Function Details

(meta (vary-meta [1 2] assoc :foo 3)) -=> {:foo 3 :line 26 :column 28 :file "example"} +=> {:foo 3 :line 28 :column 28 :file "example"}
diff --git a/cheatsheet.pdf b/cheatsheet.pdf index 5f42913d9..fbacd6eba 100644 Binary files a/cheatsheet.pdf and b/cheatsheet.pdf differ diff --git a/doc/maven-central.svg b/doc/maven-central.svg index 46e438285..80a00304d 100644 --- a/doc/maven-central.svg +++ b/doc/maven-central.svg @@ -17,7 +17,7 @@ maven-central maven-central - v1.10.42 - v1.10.42 + v1.10.43 + v1.10.43 diff --git a/doc/readme/build-dependencies.md b/doc/readme/build-dependencies.md index 4b3e05c00..17dad0308 100644 --- a/doc/readme/build-dependencies.md +++ b/doc/readme/build-dependencies.md @@ -5,7 +5,7 @@ ```groovy dependencies { - compile 'com.github.jlangch:venice:1.10.42' + compile 'com.github.jlangch:venice:1.10.43' } ``` @@ -16,7 +16,7 @@ dependencies { com.github.jlangch venice - 1.10.42 + 1.10.43 ``` diff --git a/doc/readme/execute-scripts.md b/doc/readme/execute-scripts.md index b3e471fa3..f5d8c9893 100644 --- a/doc/readme/execute-scripts.md +++ b/doc/readme/execute-scripts.md @@ -4,7 +4,7 @@ ### Run a script ```text -foo> java -jar venice-1.10.42.jar -script "(+ 1 1)" +foo> java -jar venice-1.10.43.jar -script "(+ 1 1)" => 2 ``` @@ -24,7 +24,7 @@ File "script.venice": run: ```text -foo> java -jar venice-1.10.42.jar -file script.venice +foo> java -jar venice-1.10.43.jar -file script.venice => 19.634954084936208 ``` @@ -43,7 +43,7 @@ File "script.venice": run: ```text -foo> java -jar venice-1.10.42.jar -file script.venice 3 +foo> java -jar venice-1.10.43.jar -file script.venice 3 => 4 ``` @@ -83,7 +83,7 @@ Files: /users/foo/venice ├── script.venice ├── bin -│ └── venice-1.10.42.jar +│ └── venice-1.10.43.jar └── scripts └── test.venice ``` @@ -92,7 +92,7 @@ Run: ```text foo> cd /users/foo/venice -foo> java -jar bin/venice-1.10.42.jar -file script.venice -loadpath "/users/foo/venice/scripts" +foo> java -jar bin/venice-1.10.43.jar -file script.venice -loadpath "/users/foo/venice/scripts" ``` The script loads "test.venice" from "/users/foo/venice/scripts/test.venice". @@ -112,7 +112,7 @@ and works for executing scripts or files. Run a script without upfront macro expansion: ```text -foo> java -jar venice-1.10.42.jar -script "(time (reduce + (map (fn [x] (cond (< x 0) -1 (> x 0) 1 :else 0)) (range -10000 10001))))" +foo> java -jar venice-1.10.43.jar -script "(time (reduce + (map (fn [x] (cond (< x 0) -1 (> x 0) 1 :else 0)) (range -10000 10001))))" Elapsed time: 271,66 ms => 0 ``` @@ -120,7 +120,7 @@ Elapsed time: 271,66 ms Run a scrip with upfront macro expansion: ```text -foo> java -jar venice-1.10.42.jar -macroexpand -script "(time (reduce + (map (fn [x] (cond (< x 0) -1 (> x 0) 1 :else 0)) (range -10000 10001))))" +foo> java -jar venice-1.10.43.jar -macroexpand -script "(time (reduce + (map (fn [x] (cond (< x 0) -1 (> x 0) 1 :else 0)) (range -10000 10001))))" Elapsed time: 26,35 ms => 0 ``` diff --git a/doc/readme/ext-tomcat.md b/doc/readme/ext-tomcat.md index d8bcb9508..bdd444af0 100644 --- a/doc/readme/ext-tomcat.md +++ b/doc/readme/ext-tomcat.md @@ -136,7 +136,7 @@ REPL classpath: libs/jakarta.annotation-api-2.1.1.jar libs/jansi-2.4.0.jar libs/tomcat-embed-core-10.1.1.jar - libs/venice-1.10.42.jar + libs/venice-1.10.43.jar ``` diff --git a/doc/readme/multi-file-app.md b/doc/readme/multi-file-app.md index 2ea8884bc..4deeea084 100644 --- a/doc/readme/multi-file-app.md +++ b/doc/readme/multi-file-app.md @@ -98,14 +98,14 @@ foo ├── billing.zip └── libs ├── ... - └── venice-1.10.42.jar + └── venice-1.10.43.jar ``` It can be started from a terminal with ```shell mars$ cd ~/foo -mars$ java -jar libs/venice-1.10.42.jar -app billing.zip +mars$ java -jar libs/venice-1.10.43.jar -app billing.zip ``` or @@ -174,7 +174,7 @@ The billing application JAR may be deployed to a file structure like foo └── libs ├── billing.jar - ├── venice-1.10.42.jar + ├── venice-1.10.43.jar └── openpdf-1.3.22.jar ``` diff --git a/doc/readme/repl.md b/doc/readme/repl.md index ed5ac2fef..2262e82a0 100644 --- a/doc/readme/repl.md +++ b/doc/readme/repl.md @@ -3,7 +3,7 @@ A Venice REPL (Read-Eval-Print Loop) is a programming environment which enables you to run and test code interactively. -Start the REPL with `java -jar venice-1.10.42.jar -colors` +Start the REPL with `java -jar venice-1.10.43.jar -colors` ```text venice> (+ 1 1) diff --git a/doc/readme/shell-scripts.md b/doc/readme/shell-scripts.md index 502d6f927..2809fb357 100644 --- a/doc/readme/shell-scripts.md +++ b/doc/readme/shell-scripts.md @@ -130,7 +130,7 @@ A larger example that zips Tomcat log files on a monthly base: ;; ------------------------------------------------------------------------------- ;; Zips the last month's Tomcat log files ;; -;; > java -jar venice-1.10.42.jar -file zip-tomcat-logs.venice ./logs +;; > java -jar venice-1.10.43.jar -file zip-tomcat-logs.venice ./logs ;; ------------------------------------------------------------------------------- (do (defn tomcat-log-file-filter [prefix year month] diff --git a/doc/readme/start.md b/doc/readme/start.md index 213719bfa..76ccaf947 100644 --- a/doc/readme/start.md +++ b/doc/readme/start.md @@ -25,7 +25,7 @@ The Venice JAR published to Maven is compiled with Java 8. Nevertheless Venice i ### 2. Get the Venice JAR file -Download Venice from Maven: [Venice](https://search.maven.org/artifact/com.github.jlangch/venice/1.10.42/jar) +Download Venice from Maven: [Venice](https://search.maven.org/artifact/com.github.jlangch/venice/1.10.43/jar) ### 3. Start a Venice REPL (Read-Eval-Print Loop) @@ -36,13 +36,13 @@ Open a terminal, move to the directory the Venice JAR is located, and start a REPL: ```text -foo> java -jar venice-1.10.42.jar -colors +foo> java -jar venice-1.10.43.jar -colors ``` The REPL prompts for input: ```text -Venice REPL: V1.10.42 +Venice REPL: V1.10.43 Loading REPL config from repl.json... Type '!' for help. venice> @@ -66,13 +66,13 @@ Open a terminal, move to the directory the Venice and the 'jansi' JAR is located and start a REPL: ```text -foo> java -cp venice-1.10.42.jar;jansi-2.4.0.jar com.github.jlangch.venice.Launcher -colors-darkmode +foo> java -cp venice-1.10.43.jar;jansi-2.4.0.jar com.github.jlangch.venice.Launcher -colors-darkmode ``` The REPL prompts for input: ```text -Venice REPL: V1.10.42 +Venice REPL: V1.10.43 Loading REPL config from repl.json... Type '!' for help. venice> @@ -101,7 +101,7 @@ Open a terminal, move to the directory the Venice JAR is located, and start the REPL in setup mode: ```text -foo> java -jar venice-1.10.42.jar -setup -colors +foo> java -jar venice-1.10.43.jar -setup -colors ``` For a REPL run in a darkmode terminal use the option `-colors-darkmode` instead diff --git a/gradle.properties b/gradle.properties index e4e410711..d5dcd9688 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1 +1 @@ -version=1.10.43-SNAPSHOT +version=1.10.43 diff --git a/src/main/java/com/github/jlangch/venice/Launcher.java b/src/main/java/com/github/jlangch/venice/Launcher.java index 87a3a20e0..7e043d16d 100644 --- a/src/main/java/com/github/jlangch/venice/Launcher.java +++ b/src/main/java/com/github/jlangch/venice/Launcher.java @@ -52,7 +52,7 @@ *

The launcher is configured as the Venice JAR's main-class. * *

Running scripts: - *

java -jar venice-1.10.42.jar -script "(+ 1 1)"
+ *
java -jar venice-1.10.43.jar -script "(+ 1 1)"
* *

Running a REPL: *

@@ -189,7 +189,7 @@ private static void printHelp() {
              "The launcher is configured as the Venice JAR's main-class. \n" +
              "\n" +
              "Running scripts: \n" +
-             "    java -jar venice-1.10.42.jar -script \"(+ 1 1)\" \n" +
+             "    java -jar venice-1.10.43.jar -script \"(+ 1 1)\" \n" +
              "\n" +
              "Running a REPL:  \n" +
              "    java \\ \n" +
diff --git a/src/main/resources/META-INF/license.txt b/src/main/resources/META-INF/license.txt
index 11cd31a3a..0cd5be96c 100644
--- a/src/main/resources/META-INF/license.txt
+++ b/src/main/resources/META-INF/license.txt
@@ -209,7 +209,7 @@
 VENICE SUBCOMPONENTS
 -----------------------------------------------------------------------
 
-The Venice Release 1.10.42 includes a number of subcomponents with 
+The Venice Release 1.10.43 includes a number of subcomponents with 
 separate copyright notices and license terms. The product that includes 
 this file does not necessarily use all the open source subcomponents 
 referred to below. Your use of the source code for these subcomponents 
diff --git a/src/main/resources/META-INF/notice.txt b/src/main/resources/META-INF/notice.txt
index fd3b7704d..cfdb52e47 100644
--- a/src/main/resources/META-INF/notice.txt
+++ b/src/main/resources/META-INF/notice.txt
@@ -1,4 +1,4 @@
-Venice Release 1.10.42
+Venice Release 1.10.43
 
 Copyright (c) 2017-2022 Venice
 
diff --git a/src/main/resources/com/github/jlangch/venice/app.venice b/src/main/resources/com/github/jlangch/venice/app.venice
index c50672f35..329b49499 100644
--- a/src/main/resources/com/github/jlangch/venice/app.venice
+++ b/src/main/resources/com/github/jlangch/venice/app.venice
@@ -64,7 +64,7 @@
           to "billing.venice".
 
           The app can be run from the command line as:¶
-          `> java -jar venice-1.10.42.jar -app billing.zip`¶
+          `> java -jar venice-1.10.43.jar -app billing.zip`¶
           Venice reads the archive and loads the archive's main file.
 
           Or with additional Java libraries (all JARs in 'libs' dir):¶
diff --git a/src/main/resources/com/github/jlangch/venice/repl.bat b/src/main/resources/com/github/jlangch/venice/repl.bat
index 43c7b5177..519e512b9 100644
--- a/src/main/resources/com/github/jlangch/venice/repl.bat
+++ b/src/main/resources/com/github/jlangch/venice/repl.bat
@@ -6,7 +6,7 @@ REM # --home
 REM #    |
 REM #    +-- libs
 REM #    |    +-- repl.json
-REM #    |    +-- venice-1.10.42.jar
+REM #    |    +-- venice-1.10.43.jar
 REM #    |
 REM #    +-- scripts
 REM #    |    +-- script-1.venice
diff --git a/src/main/resources/com/github/jlangch/venice/repl.sh b/src/main/resources/com/github/jlangch/venice/repl.sh
index 57b61f83a..b969e9217 100644
--- a/src/main/resources/com/github/jlangch/venice/repl.sh
+++ b/src/main/resources/com/github/jlangch/venice/repl.sh
@@ -6,7 +6,7 @@
 #    |
 #    +-- libs
 #    |    +-- repl.json
-#    |    +-- venice-1.10.42.jar
+#    |    +-- venice-1.10.43.jar
 #    |
 #    +-- scripts
 #    |    +-- script-1.venice