Hello Is it sensible to write code with callbacks for different "object" types like: foo(Id) -> {ok, V} = myapp_get_by_id(Id), (element(1,V)):foo(V). Or is there a more idiomatic way of handling this? - Taru Karttunen