cljs-dev

ClojureScript compiler & std lib dev, https://clojurescript.org/community/dev
dnolen 2021-03-15T13:27:01.113400Z

it looks like we may be good to release this week

dnolen 2021-03-15T13:27:34.114100Z

the sporadic REPL breakage was because of some subtle tweaks in GCL

dnolen 2021-03-15T13:28:58.115500Z

standard REPLs seem fine - and minor changes were required for Ambly and Krell

dnolen 2021-03-15T13:34:00.115800Z

quite possible other REPLs aren't affected

dnolen 2021-03-15T13:55:49.116100Z

looking into the CI issues

mfikes 2021-03-15T15:44:46.117900Z

There was some discussion previously about BigInt support (perhaps extending some of the experimental stuff done in https://gist.github.com/mfikes/9fc981ed7a190b8e9b2912eee98fdd5e). I'm going to put together some notes regarding a more expansive design to add a numeric tower to ClojureScript that mimics Clojure's (for example, including ratios and other things).

mkvlr 2021-03-15T16:39:00.118600Z

@mfikes @sritchie09 has implemented this for ClojureScript for http://github.com/sicmutils/sicmutils

Sam Ritchie 2021-03-15T16:43:17.119700Z

Yup, Ratio, BigInt, and the goog numbers are all covered if you want to talk, @mfikes

mfikes 2021-03-15T16:44:58.120200Z

Oh, nice. I'll take a look at that. 🙂

Sam Ritchie 2021-03-15T16:46:05.121Z

numbers.cljc, value.cljc, ratio.cljc

mfikes 2021-03-15T16:46:30.121500Z

Hah. It would be interesting to have complex number support in the Clojure tower. 🙂

2
Sam Ritchie 2021-03-15T16:46:47.122Z

I was going to say, for bonus points :):)

borkdude 2021-03-15T16:47:18.122400Z

And then a sqrt core function so (sqrt -1) returns one

Sam Ritchie 2021-03-15T16:48:18.122800Z

Quaternions coming to Clojure 1.12

Sam Ritchie 2021-03-15T16:49:19.123800Z

@mfikes I’m very happy to do an extensively annotated version of those namespaces for or with you, to explain why I had to add each non obvious piece

mfikes 2021-03-15T16:53:40.124300Z

That's cool. I'll probably just read through it at some point.

đź‘Ť 1
dnolen 2021-03-15T19:36:38.125700Z

@mkvlr @sritchie09 we'll definitely take a look - but @mfikes is looking into something integrated into the compiler etc. + the runtime stuff

dnolen 2021-03-15T19:36:50.126100Z

it's gonna be a long-ish project

mkvlr 2021-03-15T19:48:48.127700Z

@dnolen no rush, didn’t expect it to be a small thing. In the short term: let us know when we should give master another try, our CI was green with https://github.com/clojure/clojurescript/commit/69b66374d857a176c5a9cd8cc0cbb7506876640d

Sam Ritchie 2021-03-15T23:27:11.127900Z

yes, of course this makes sense. I should have said I’ve stared at this a bit and am happy to help with the effort, if there’s some way to do it