Fork me on GitHub
#clojure-nl
<
2018-10-30
>
joost-diepenmaat10:10:12

writing test docs, trying some excel parsing/transformation things

arnout11:10:49

What is the type of :new-articles, if it's not nil?

borkdude11:10:10

nm, removed my msg

arnout11:10:11

So it's not a long then 🙂

arnout11:10:23

Appears to be a BigDecimal

borkdude11:10:45

bigdecimal?

arnout11:10:10

Oh wait, what version of Clojure are you using?

borkdude11:10:41

deployed code running at 1.9.0

borkdude11:10:52

locally running 1.10.0-RC1

borkdude11:10:13

I may be looking at an old error. some sentry confusion

arnout11:10:17

I guess so, line 1018 of Numbers in Clojure 1.9 should not be reached if fnil is applied..

borkdude11:10:00

still a bit weird though, this ends up in the catch block:

(try
    (filterv pos? [1 2 3 nil])
    (catch Exception e "o noes"))
while it my code it didn’t

arnout12:10:06

Was it always filterv? Or was it filter back then?

borkdude12:10:57

I made it filterv and mapv to exclude lazyiness leaking the exception outside

arnout13:11:19

Exactly what I thought 🙂

borkdude13:11:56

Yes, but that wasn’t it though. We’lol never know now

thomas12:10:50

good morning