People are saying avoid using map to perform side effects over sequence and it makes sense.
But in the real world, I find myself needing to both retain the result and have the map evaluated eagerly, i.e, when inserting to db and returning the record.
Is (doall (map ..)) my only choice here? Is there a more idiomatic way to do this?