Well, you could accept mfa tuples, or single atoms and treat the rest as a quoted expression. That way one could write from_context(key, quote(do: fn x -> ... end))
It would be very convenient and I don’t mind wrapping it in a quote.
Well, you could accept mfa tuples, or single atoms and treat the rest as a quoted expression. That way one could write from_context(key, quote(do: fn x -> ... end))
It would be very convenient and I don’t mind wrapping it in a quote.