anchor.diff:      end.
   
   
  +%% @doc Return a set of all pure functions contained in
  +%% a string of Erlang code.
  +
  +-spec pure_funs_from_code(string(), purity_utils:options()) ->
  +      ordsets:ordset(mfa()) | {error, compilation_failure}.
  +pure_funs_from_code(CodeText, Options) ->
  +    case compile(CodeText) of
  +	{ok, Module, Core} ->
  +            Plt = load_plt_silent(Options),
  +            Tab = purity_plt:get_cache(Plt, Options),
  +	    Dep = module(Core, Options, Tab),
  +            Pureness = propagate(Dep, Options),
  +            pure_funs([Module], Dep, Pureness);
  +	_ ->
  +	    {error, compilation_failure}
  +    end.
  +
  +
   %%% Various helpers. %%%
   
   update(Table, KeyVals) ->
  
positive.code:     none.
  
  
  %% @doc Return a set of topmost pure functions containined in
  %% a string of Erlang code.
  
  -spec top_funs_from_code(string(), purity_utils:options()) ->
  
negative.code:          propagate_both/2, find_missing/1]).
  -export([analyse_changed/3]).
  -export([top_funs/3, top_funs_from_code/2]).
  -export([pure_funs/3, pure_funs_from_code/2]).
  -export([score/2]).
  
  -import(purity_utils, [fmt_mfa/1, str/2]).
  