enigma icon indicating copy to clipboard operation
enigma copied to clipboard

Conversion functions

Open archseer opened this issue 6 years ago • 2 comments

It's time to get all these out of the way.

x_to_list

  • [X] erlang:atom_to_list/1
  • [X] erlang:binary_to_list/1
  • [ ] erlang:binary_to_list/3
  • [ ] erlang:float_to_list/1
  • [ ] erlang:float_to_list/2
  • [X] erlang:integer_to_list/1
  • [ ] erlang:integer_to_list/2
  • [X] erlang:pid_to_list/1
  • [X] erlang:tuple_to_list/1
  • [X] erlang:ref_to_list/1
  • [ ] erlang:port_to_list/1
  • [X] erlang:fun_to_list/1
  • [ ] erlang:bitstring_to_list/1

list_to_x

  • [X] erlang:list_to_atom/1
  • [X] erlang:list_to_binary/1
  • [x] erlang:list_to_float/1
  • [X] erlang:list_to_integer/1
  • [ ] erlang:list_to_pid/1
  • [ ] erlang:list_to_port/1
  • [ ] erlang:list_to_ref/1
  • [X] erlang:list_to_tuple/1
  • [x] string:list_to_integer/1
  • [ ] erlang:list_to_integer/2
  • [ ] string:list_to_float/1
  • [ ] erlang:list_to_existing_atom/1
  • [ ] erlang:list_to_bitstring/1

binary_to_x

  • [ ] erlang:binary_to_float/1
  • [X] erlang:binary_to_term/1
  • [x] erlang:binary_to_atom/2
  • [ ] erlang:binary_to_existing_atom/2
  • [x] erlang:binary_to_integer/1
  • [ ] erlang:binary_to_integer/2

x_to_binary

  • [x] erlang:atom_to_binary/2
  • [ ] erlang:float_to_binary/1
  • [ ] erlang:float_to_binary/2
  • [x] erlang:integer_to_binary/1
  • [ ] erlang:integer_to_binary/2
  • [x] erlang:term_to_binary/1
  • [x] erlang:term_to_binary/2

Special

  • [x] unicode:characters_to_binary/2
  • [X] unicode:characters_to_list/2
  • [X] erlang:iolist_to_binary/1
  • [x] erlang:iolist_to_iovec/1

archseer avatar May 05 '19 05:05 archseer

Hi, is anyone working on these at the moment?

cgmcintyr avatar Jul 31 '19 13:07 cgmcintyr

Nope, feel free to go ahead :) I have some changes pending to update us to latest rust nightly, but I ran into some regressions I need to report upstream first.

archseer avatar Aug 02 '19 14:08 archseer