Is this a bug? true and 0 -> 0

34 views
Skip to first unread message

br...@grox.io

unread,
May 3, 2019, 7:16:43 AM5/3/19
to elixir-lang-core
Is and strict? Should it:

1) accept only booleans
2) return a boolean

-bt

José Valim

unread,
May 3, 2019, 7:18:20 AM5/3/19
to elixir-l...@googlegroups.com
Only the left side is verified and verifying the right side would make it non tail recursive.

--
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 elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/d3298939-f46c-4725-903d-089997ee2a15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--


José Valim
Skype: jv.ptec
Founder and Director of R&D
Reply all
Reply to author
Forward
0 new messages