Re: [elixir-core:11197] Re: Proposal: Introduce string limit function.

2022-11-20 Thread Zach Daniel
Yeah, features vs functions make sense that they would have different leeway, and I think maybe deserves its own rubric. Primarily because "providing a standard set of utilities to do common and basic things" is already a feature of core, so this isn't really about wether or not that feature

Re: [elixir-core:11192] Re: Proposal: Introduce string limit function.

2022-11-20 Thread José Valim
Good shout on using String.split_at/2 on the implementation, Zach. It is one of the concerns I raised in the original PR and your solution is quite elegant. Which also brings another point: if the implementation is 6 LOC (I believe the first two clauses are not strictly necessary), then there is

Re: [elixir-core:11196] Re: Proposal: Introduce string limit function.

2022-11-20 Thread José Valim
The general rubric is outlined here: https://elixir-lang.org/development.html However we can give more leeway to functions compared to features. On Sun, Nov 20, 2022 at 16:25 Zach Daniel wrote: > This is the kind of thing I mean when I say having a rubric for std > library candidacy would be