anchor.diff:      %% jiffy style to proplists
       normalize_props(Props, []).
   
  +export_props(Props) ->
  +    export_props(Props, []).
  +
   normalize_default_props(DefaultProps) ->
       normalize_default_props(DefaultProps, []).
  +
  +export_default_props(DefaultProps) ->
  +    export_default_props(DefaultProps, []).
   
   %% ==================================================================
   %% Private functions
  
positive.code: normalize_default_props(_, _) ->
      {error, invalid}.
  
  export_default_props(DefaultProps) ->
      export_default_props(DefaultProps, []).
  
  export_default_props([{Regexp, Props} | T], Acc) when is_list(Regexp); is_binary(Regexp) ->
      export_default_props(T, [[Regexp, export_props(Props)] | Acc]);
  
  export_default_props([], Acc) ->
      lists:reverse(Acc).
  
  
negative.code: normalize_props(_, _) ->
      {error, invalid}.
  
  export_props([{pack, Duration} | T], Acc) ->
      export_props(T, [{<<"pack">>, Duration / 1000} | Acc]);
  export_props([{K, V} | T], Acc) ->
      export_props(T, [{atom_to_binary(K, latin1), V} | Acc]);
  export_props([], Acc) ->
      {lists:reverse(Acc)}.
  
  