anchor.diff:  %% encode #{typedef, {pos, name, typespec}}
   %%===============================================================================
   
  -gen_encode(Erules,Type) when is_record(Type,typedef) ->
  -    gen_encode_user(Erules,Type).
  +gen_encode(Erules, #typedef{}=D) ->
  +    gen_encode_user(Erules, #typedef{}=D, true).
   
   %%===============================================================================
   %% encode #{type, {tag, def, constraint}}
  
positive.code:     case is_already_generated(dec,TypeDef#typedef.name) of
  	true -> ok;
  	_ ->
  	    gen_decode(Erules,TypeDef)
      end,
      gen_decode_constr_type(Erules,Rest);
  gen_decode_constr_type(_,[]) ->
  
negative.code: gen_encode_constr_type(Erules,[TypeDef|Rest]) when is_record(TypeDef,typedef) ->
      case is_already_generated(enc,TypeDef#typedef.name) of
  	true -> ok;
  	false -> gen_encode_user(Erules, TypeDef, false)
      end,
      gen_encode_constr_type(Erules,Rest);
  gen_encode_constr_type(_,[]) ->
  