I see your point. But I think it would simplify things if what's available in IEx is available in doctests, since that's the environment it is supposed to be running in.
On Mon, 8 May 2017 18:28:32 +0200 José Valim <jose.va...@plataformatec.com.br> wrote: > Then you can use the File API to do exactly that. Such as File.ls! and > File.cwd!. > > > > *José Valim* > www.plataformatec.com.br > Skype: jv.ptec > Founder and Director of R&D > > On Mon, May 8, 2017 at 6:26 PM, eksperimental <eksperimen...@autistici.org> > wrote: > > > They could be useful for doctests such when dealing with file and dirs > > creation and removal, > > you cd/1 a dir, and then mkdir_p, and `touch` a file and `ls` the contents > > of the specific dir, > > > > > > > > On Mon, 8 May 2017 18:17:33 +0200 > > José Valim <jose.va...@plataformatec.com.br> wrote: > > > > > pwd and ls are not going to be effective in doctests as the results will > > be > > > highly dependent of the user directory and what is on their machine. > > > > > > > > > > > > *José Valim* > > > www.plataformatec.com.br > > > Skype: jv.ptec > > > Founder and Director of R&D > > > > > > On Mon, May 8, 2017 at 5:16 PM, eksperimental < > > eksperimen...@autistici.org> > > > wrote: > > > > > > > José Valim <jose.va...@plataformatec.com.br> wrote: > > > > > We should support regular comments (a-I). We should not support > > (a-II) > > > > and > > > > > (a-III) because they are not valid in IEx. > > > > > > > > How come, since they are all treated as comments by IEx. > > > > > > > > -- > > > > 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-core+unsubscr...@googlegroups.com. > > > > To view this discussion on the web visit https://groups.google.com/d/ > > > > msgid/elixir-lang-core/20170508221600.66851fc4. > > > > eksperimental%40autistici.org. > > > > 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 elixir-lang-core+unsubscr...@googlegroups.com. > > To view this discussion on the web visit https://groups.google.com/d/ > > msgid/elixir-lang-core/20170508232653.0388c5f1. > > eksperimental%40autistici.org. > > 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 elixir-lang-core+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/20170508233503.5b997d54.eksperimental%40autistici.org. For more options, visit https://groups.google.com/d/optout.