Scoping function to capture some value by an Exporter and return the value.
some arbitrary type T
some value generating expression with Exporter as receiver