anchor.diff:  		  Mods);
   validMods(Mods) -> throw({invalid_modules, Mods}).
   
  +child_to_spec(#child{name = Name,
  +		    mfargs = Func,
  +		    restart_type = RestartType,
  +		    shutdown = Shutdown,
  +		    child_type = ChildType,
  +		    modules = Mods}) ->
  +    #{id => Name,
  +      start => Func,
  +      restart => RestartType,
  +      shutdown => Shutdown,
  +      type => ChildType,
  +      modules => Mods}.
  +
   %%% ------------------------------------------------------
   %%% Add a new restart and calculate if the max restart
   %%% intensity has been reached (in that case the supervisor
  
positive.code: 	 start_child/2, restart_child/2,
  	 delete_child/2, terminate_child/2,
  	 which_children/1, count_children/1,
  	 check_childspecs/1]).
  
  %% Internal exports
  -export([init/1, handle_call/3, handle_cast/2, handle_info/2,
  
negative.code: terminate_child(Supervisor, Name) ->
      call(Supervisor, {terminate_child, Name}).
  
  -spec get_childspec(SupRef, Id) -> Result when
        SupRef :: sup_ref(),
        Id :: pid() | child_id(),
        Result :: {'ok', child_spec()} | {'error', Error},
        Error :: 'not_found'.
  get_childspec(Supervisor, Name) ->
      call(Supervisor, {get_childspec, Name}).
  
  -spec which_children(SupRef) -> [{Id,Child,Type,Modules}] when
        SupRef :: sup_ref(),
        Id :: child_id() | undefined,
  