Richard Feldman
Richard Feldman
Hm, would it be noticeable in the case where these are intended to be used? (That is, you pass a record literal into function arguments and that's it.) I suppose...
Yeah I plan to get back to this and to https://github.com/rtfeldman/roc/pull/2105 and get some combination of them merged in. It's on my list!
@popara want to start a thread on Zulip about it? I'm open to discussing alternative syntax designs!
@Giesch if you want to go for `trimLeft` and `trimRight`, I'd say go for it! I think `Str.trim` can be faster if it's not implemented in terms of `trimLeft` and...
> Is it necessary to include `Str`, `Dict` and `Set` as builtin? `Str` yes, because the small string optimization is important for Roc since we don't use tracing GC with...
In this case I think we'd rather have one `Num.fromStr : Num * -> Str` that works on any numeric type you give it. Unlike some of the other scenarios...
Sorry, my mistake - for some reason I was thinking of `Num.toStr : Num * -> Str` and not `fromStr` (`Num * -> Str` would be a very strange type...
@JanCVanB Yeah, go for it! 👍
Yeah, that's a known problem without a known fix yet! 😄
I'm gonna clean all of these up and get things merged this week!