blob: a4b0a181577ab85c08cebd7e97562b5f16ceb42f (
plain) (
tree)
|
|
-module(zoltan_kis2).
-export([get/2]).
-opaque data() :: gb_tree().
-spec get(term(), data()) -> term().
get(Key, Data) ->
%%Should unopaque data for remote calls
case gb_trees:lookup(Key, Data) of
'none' -> 'undefined';
{'value', Val} -> Val
end.
|