Thomas Clark
Thomas Clark
Another one to include could be the comparison performed in `A.includes`
I'm happy to do it, is there any particular procedure for creating new modules?
I actually just realised that `just-compose` already uses left-to-right function composition, so `flow` is irrelevant. Sorry about that, I'm just so used to `compose` using right-to-left composition that I didn't...
Another note: I looked at the CSS that was generated in the linked tailwind playground, and for the component CSS, this block of code was at the bottom: ```css {...
@angus-c requested changes have been made, sorry for the delay
I prefer the more straightforward simplistic logic, eg; Does the index exist in the array? - **Yes:** Insert into that index - **No:** Push to the end of the array...
@angus-c sorry for the huge delay, got distracted by stuff and forgot about this entirely, You can actually add an item of a different type to an array by manually...
Played around with this a bit and ended up with this: https://tsplay.dev/mqq5jm Its not perfect (eg; auto type inference confuses `map` for `forEach`), however it maintains the created function's generic...
My solution can still accommodate the string overload, we just have to add another signature for it, so the new declaration would look like this: ```ts export function take(n: number,...
Okay I actually figured out a workaround that can handle both the string and array curried signature and allow the generic to be evaluated after the original call: https://tsplay.dev/N7QPGW I...