You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inside try-try-again, you're creating a lazy seq using map. No error is generated. You return that lazy-seq to the calling context of try-try-again, again with no error being generated.
Then, I'm assuming in your repl, you go to use or print the contents of your lazy seq, and finally the map is sortof actually evaluated, and you trigger the exception. But by now you're outside the context of try-try-again, and there's no opportunity for retries.
That is, you're being bitten by laziness. Use a doall to force the map to run inside try-try-again.
produces
with no retries. Should it? I'm likely missing something obvious here.
The text was updated successfully, but these errors were encountered: