Fork me on GitHub
#clojure-europe
<
2022-06-09
>
seancorfield00:06:41

I'm not very surprised about Atom -- the writing has been on the wall for ages 🙂

simongray07:06:51

good morning

reefersleep07:06:11

I’ve never really used Atom. Will people be missing features from it that aren’t present in other editors?

javahippie08:06:45

I feel that!

orestis07:06:37

Good morning from Copenhagen 🙂

simongray07:06:27

@orestis back on holiday?

orestis08:06:43

Summer party + meetings 🙂

mccraigmccraig08:06:06

anyone know of any js libs for working with cljs datastructures from js-land ?

borkdude10:06:27

browser or node.js?

mccraigmccraig10:06:17

browser and react-native ... ideally node.js too

borkdude10:06:50

On Node.js you can use nbb as a library. But maybe making your own wrappers which expose assoc etc to JS will make more sense

mccraigmccraig13:06:52

yeah, that might be the answer

mccraigmccraig08:06:01

@simongray yeah, i found that - but unless i'm reading it wrong, mori seems to be a re-implementation of the cljs structures in js-land, rather than an interop thing

simongray08:06:08

@mccraigmccraig I think it’s literally just a JS wrapper for the data structure portion of the compiled CLJS source code. I haven’t used it myself, but I guess it will work fine…?

mccraigmccraig08:06:50

but on trying it... it looks like mori datastructures are distinct from cljs datastructures:

cljs.user> (def v (mori/vector 0 1 2))
;; => #'cljs.user/v
cljs.user> (mori/count v)
;; => 3
cljs.user> (count 3)
;; => #object[Error Error: No protocol method ICounted.-count defined for type number: 3]
cljs.user> (mori/count [0 1 2])
;; => #object[Error Error: [0 1 2] is not ISeqable]

simongray08:06:56

well, that’s annoying

simongray08:06:23

I would ping swanodette

raymcdermott13:06:50

isn’t mori short for moribund?

simongray13:06:58

mori is short for mori…

simongray13:06:00

I realise you’re making a joke, but my inner grammar nazi always awakes in situations such as these. “Mori” means death by itself, so it is already adequately grim 🙂

simongray13:06:44

That being said, it does seem abandoned.

💀 1
simongray14:06:38

As I have made perfectly clear, I am no fun at parties >_<

😂 1
mccraigmccraig08:06:49

oh, ok - in which case i should try it out

simongray08:06:57

only way to find out is to try… or to ask David Nolen 😛

👍 1
raymcdermott08:06:55

Good morning

🌺 2
🐝 1
lread13:06:53

Good morning!