Re: [elixir-core:9532] [Proposal] Support additional time units

2020-06-03 Thread Wojtek Mach
Just a word of warning, I believe that while supporting minutes, hours, and days is rather trivial since we have such fields on the structs and so we could just increment them, supporting weeks is trickier - are all weeks composed of 7 days or there are calendars where this is not true? Maybe

Re: [elixir-core:9533] [Proposal] Support additional time units

2020-06-03 Thread José Valim
Good point Wojtek. Unfortunately this concern also applies to hours and seconds, which can change between calendars. I believe seconds today already operates as ISO seconds, so I would just document that all units are ISO units. On Wed, Jun 3, 2020 at 9:14 AM Wojtek Mach wrote: >  > Just a w

Re: [elixir-core:9534] [Proposal] Support additional time units

2020-06-03 Thread Ulisses De Almeida
Well, if you implementing a fantasy world game, a week can have different days. For example, in forgotten realms, a week has 10 days. https://forgottenrealms.fandom.com/wiki/Calendar_of_Harptos Em qua., 3 de jun. de 2020 às 10:23, José Valim escreveu: > Good point Wojtek. > > Unfortunately this

[elixir-core:9536] Multiline IEx support? (Inspiration from 2.7 IRB)

2020-06-03 Thread Edison Yap
With the recent Ruby 2.7 release came a new version of the IRB and that works really well. Some of the features I'd like to see in IEx is: - Multiline REPL support (so when you key-up on your history, it returns a whole block instead of a single line) - Navigate block (when you are in Block mode

[elixir-core:9537] Add support for using subdirectories from Git repositories

2020-06-03 Thread Łukasz Niemier
This would be handy for supporting monorepos which contain different projects. One example of project that would benefit from such thing is OpenTelemetry repository which could contain data for API and SDK in one repo instead of using separate ones. -- You received this message because you are

Re: [elixir-core:9537] Add support for using subdirectories from Git repositories

2020-06-03 Thread José Valim
We already support sparse checkouts. It was added back then due to a Nerves team request. On Wed, Jun 3, 2020 at 6:21 PM Łukasz Niemier wrote: > This would be handy for supporting monorepos which contain different > projects. One example of project that would benefit from such thing is > OpenTel