Hi John,
Thanks. With the improved error message I was able to pin the cause of
error better.
The issue was that I was declaring the user picture URL as a ZnURL
instead of as a string in the reStoreDefinition, but I was not telling
ReStore how to store ZnUrl objects. So I made the returning
Hi Kasper,
Thanks for your reply!
> Sorry, but which version of Pharo are we talking about.
Sorry, I forgot to say that I am still using Pharo 9.
> I just tried with Pharo 10, which has no flatten method for arrays at
Interesting. So I double-checked - and found that the "flatten" in my
image
Hi Konrad
Sorry, but which version of Pharo are we talking about. I just tried with Pharo
10,
which has no flatten method for arrays at all, somewhere along the version I
believe
the method was renamed to flattened.
#(1 #(2 #(a b) 3) 4) flattened >>> #(1 2 #a #b 3 4) as one would expect.
flat
Hi everyone,
I am getting surprising results trying to flatten nested arrays. So I
read the docstrings. And now I understand even less how flatten and
flatCollect are supposed to work.
flatten says:
"Recursively collect each non-collection element of the receiver and
its descendant coll