> > While I can see the appeal of such solutions I'd say the usual way to deal > with such things is to use atoms and do the conversion on the system > boundry. You convert to atom the incoming params as soon as you can, and > you convert back to the integer value just before sending it out.
Indeed, the approach you suggest is probably better in many cases. I will probably extend const in the near future to also allow generating modules with this easily. Thanks for the feedback! -- You received this message because you are subscribed to the Google Groups "elixir-lang-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-talk+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/68a71610-4f78-40f2-bd42-a1450c09ce0f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.