Commit graph

160 commits

Author SHA1 Message Date
Michiel Borkent
a4b4ce43a4
Add java.time.temporal.ChronoUnit class (#271)
* Adding java.time.temporal.ChronoUnit to classes.clj

This enables the two following kinds of calculations between
LocalDateTime, LocalTime, Instant and other Temporal descendants:

ChronoUnit.MILLIS.between(temporalOne, temporalTwo)
temporalOne.until(temporalTwo, Chronounit.HOURS)

and I assume a lot of other operations which require time
units.

* Add unit test

Co-authored-by: Matias Bjarland <matias@iteego.com>
2020-02-21 21:32:28 +01:00
Michiel Borkent
7ad6f3195f Lib tests 2020-02-19 23:58:58 +01:00
Michiel Borkent
e43727955a [#133] add clojure.pprint/pprint backed by fipp 2020-02-19 23:22:49 +01:00
Michiel Borkent
41b3893056
sci: support metadata on namespaces 2020-02-18 16:25:04 +01:00
Michiel Borkent
29c0f20ead Fix tools.cli alias 2020-02-17 18:17:14 +01:00
Michiel Borkent
e98a92c283
Sci: reify core vars, implement repl/doc (#265) 2020-02-16 12:54:54 +01:00
Jeroen van Dijk
c8fd1c7931 Add Security classes in order to be able to generate signatures (#261) 2020-02-09 20:45:29 +01:00
Michiel Borkent
01714e4bbb Add note about rlwrap 2020-02-07 09:33:02 +01:00
Michiel Borkent
debd180681 Fix previous commit 2020-02-04 22:15:59 +01:00
Michiel Borkent
1a9dc12c38 Add java.lang.Long to imports 2020-02-04 22:15:14 +01:00
Stijn Opheide
d5ff6f7308
add java.lang.Long to classes (#253) 2020-02-04 22:07:11 +01:00
Michiel Borkent
d3f1b05102 Make core.async.impl.protocols namespace reachable from within bb 2020-02-04 12:42:05 +01:00
Michiel Borkent
ba3eac83b1 Fix preloads 2020-02-04 11:09:29 +01:00
Michiel Borkent
1224919bd1 sci: now includes clojure.edn 2020-02-02 18:24:58 +01:00
Michiel Borkent
b931b98f4c Doc 2020-01-31 17:34:39 +01:00
Michiel Borkent
6abff1dbdd [#250] implement -- option 2020-01-31 17:23:22 +01:00
Michiel Borkent
8570eef019 Fix reported file 2020-01-30 10:30:11 +01:00
Michiel Borkent
6e8a2e2e9a [#245] add -iO and -Io 2020-01-29 23:55:21 +01:00
Michiel Borkent
710eee3e51 [#247] add clojure.test/report 2020-01-29 23:31:29 +01:00
Michiel Borkent
f86cc84303
[#247] add clojure.test as built-in lib 2020-01-29 23:22:26 +01:00
Michiel Borkent
aad41086f7 Minor 2020-01-21 15:39:03 +01:00
Michiel Borkent
736555bdb6 Add Writer, PrintWriter and PushbackReader 2020-01-21 15:27:38 +01:00
Michiel Borkent
e427060c0b Add java.io.Reader and StringBuilder 2020-01-21 15:14:33 +01:00
Michiel Borkent
a442bde76a [#213] Allow -e argument to be repeated 2020-01-20 11:00:53 +01:00
Michiel Borkent
8f698894f6
[#234] *ns* should be controllable set per socket REPL connection 2020-01-20 10:41:11 +01:00
Michiel Borkent
9269f1087f [#243] ns form doesn't work with socket repl 2020-01-19 20:01:49 +01:00
Michiel Borkent
6c4a54745a Add time macro 2020-01-19 15:28:59 +01:00
Michiel Borkent
073fbcac20 Add Throwable to default imports 2020-01-19 14:18:52 +01:00
Michiel Borkent
45da56a964 sci: support reload 2020-01-18 20:41:46 +01:00
Michiel Borkent
d1aaa97df6 sci: record file metadata on var 2020-01-18 18:25:38 +01:00
Michiel Borkent
d9a75cf8cf dev 2020-01-17 17:26:03 +01:00
Michiel Borkent
0713038457
[#239] Fix issue with clj-http-lite 2020-01-16 10:28:17 +01:00
Michiel Borkent
bfa8b45e34
sci: performance improvement 2020-01-14 17:12:57 +01:00
Michiel Borkent
8c41237f7a sig -> signal 2020-01-12 20:18:37 +01:00
Michiel Borkent
5a63d37486 babashka.classpath 2020-01-12 20:02:48 +01:00
Michiel Borkent
b933610626 Add experimental add-classpath! 2020-01-12 18:15:34 +01:00
Michiel Borkent
19767b54a3 [#221] print name of exception 2020-01-12 17:40:41 +01:00
Michiel Borkent
8e24744d35 [#219] better error message for unrecognized cli option 2020-01-12 17:27:17 +01:00
Michiel Borkent
1268792b47 Refer 'clojure.repl/dir in user ns 2020-01-12 14:01:22 +01:00
Michiel Borkent
a3b3984f05 Upgrade sci 2020-01-12 13:35:03 +01:00
Michiel Borkent
06cccf1a14 Add ns-publics + clojure.repl/dir 2020-01-12 13:33:56 +01:00
Michiel Borkent
7b85863020 Bind current-ns to user 2020-01-12 11:51:40 +01:00
Michiel Borkent
2b0cb6fb1c
Remove Unix-specific classes (#227) 2020-01-08 11:48:40 +01:00
Michiel Borkent
ab6ea2de08 add demunge 2020-01-05 19:01:55 +01:00
Michiel Borkent
193bbc2888
sci: preserve tag in let (#216) 2020-01-05 17:45:25 +01:00
Michiel Borkent
1d3cd975ba Add constructors for Delay and MapEntry 2020-01-04 20:21:09 +01:00
Michiel Borkent
5e2c2a7ba0 Add locking 2020-01-04 20:04:29 +01:00
Michiel Borkent
62f12e75ee sci: use public alter-var-root 2020-01-04 15:31:49 +01:00
Michiel Borkent
28b873700d Add class for clj-http.lite 2020-01-02 16:02:36 +01:00
Michiel Borkent
978278768f Add a bunch of classes 2020-01-02 13:39:22 +01:00