Fork me on GitHub
#clojure-dev
<
2016-10-20
>
anmonteiro18:10:08

boot.user=> (bean "hi")

java.lang.UnsupportedOperationException: empty

anmonteiro18:10:20

^ this works in Clojure 1.8

anmonteiro18:10:30

not in 1.9.0-alpha13

anmonteiro19:10:57

seems to have broken from alpha7-> alpha8

seancorfield19:10:06

(sorry, didn’t notice the first one was a dupe of the second one)

anmonteiro19:10:36

oh it’s just the printing

ghadi19:10:41

another patch option for that ticket is to implement empty on bean

ghadi19:10:30

@anmonteiro also if you want an entirely different approach to bean, look at https://gist.github.com/ghadishayban/c36368d1de6ce15ba2a782c3cfc9211a

alexmiller19:10:12

it does not make sense to implement empty on bean

alexmiller19:10:17

I did consider that option

alexmiller19:10:29

for same (well, even stronger) reasons as on records

alexmiller19:10:20

CLJ-2027 should be in the next alpha