Hi Di,
Thanks for the help; both worked well.
One other question:
I like the second suggestion (using non-nil-return) so I went with
that. When I wrote (non-nil-return String/replace :all) I got an error
suggesting I use non-nil-return on String, but when I wrote
(non-nil-return java.lang.String/replace :all) everything worked. The
type checker never complains if I reference Class or java.lang.Class.
When do I have to fully reference classes? Is there a way to say
(non-nil-return String/replace :all) with getting an error?
Thanks,
Cristian
--
"We must not believe the many, who say that only the free people ought
to be educated, but we should rather believe the philosophers who say
that only the educated are free." - Epictetus