>
>  the utility of not having to format the float for interpolation/logging 
> for such a core type is worth keeping the behavior


Couldn’t the same be said of all the basic types, including tuples, maps, 
ranges, and processes (arguable *the* essential type of Erlang/Elixir)? 
Providing a convenient string representation that takes liberties with 
formatting is the purpose of Kernel.inspect/1, not String.Chars.to_string/1. 
Wouldn’t the most consistent behavior be to expect the programmer to 
inspect the float they wish to interpolate/log, just as they must with a 
tuple, map, range, struct, process, etc?

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/2f2ac647-896d-498e-ba1d-7d373787b12d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to