It sounds good. However, how would struct/1 be implemented? I don't think we can get such an argument and splice it into the map?
*José Valimwww.plataformatec.com.br <http://www.plataformatec.com.br/>Founder and Director of R&D* On Wed, Nov 1, 2017 at 12:38 AM, <[email protected]> wrote: > I lie, I just noticed `as_boolean/1` >> <https://github.com/elixir-lang/elixir/blob/385115f15e2cb0f18cccaf9a551f5b7c66a2d3e7/lib/elixir/lib/kernel/typespec.ex#L1105>, >> so >> there is precedence. > > > ...and keyword/1. That's super useful, can't believe I just discovered it. > > -- > 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/6958a103-10ed-46bf-8e0c- > f9c2e7fd89c4%40googlegroups.com > <https://groups.google.com/d/msgid/elixir-lang-core/6958a103-10ed-46bf-8e0c-f9c2e7fd89c4%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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/CAGnRm4%2BkfV8pMTfiu5gz_JyTCNymrPi2e3nBz%3DkmWMSLHSJ1Vg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
