Skip to content

feat(Tuples): add Flatten#128

Closed
airismadeupofair wants to merge 6 commits into
gvergnaud:mainfrom
airismadeupofair:feat/tuples-flatten
Closed

feat(Tuples): add Flatten#128
airismadeupofair wants to merge 6 commits into
gvergnaud:mainfrom
airismadeupofair:feat/tuples-flatten

Conversation

@airismadeupofair
Copy link
Copy Markdown

Updates:

  1. Added an impl folder in the Tuples directory with a local dir exports set up and the specific implementation added
  2. Added an exports to in Tuples
  3. Added test cases and jsdoc
  4. Added simple and complex test cases

Note

Implementation is roughly 600 lines (86KB); documentation regarding the architecture and explanation is included within the implementation file.

##Usage

// One of the test cases

// hundred brackets test
type res1 = Call<Tuples.Flatten, [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[1]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]], [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[...string[]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]], 100> // [1, ...string[]]

airismadeupofair and others added 6 commits May 3, 2026 18:56
Add Flatten as an exported type and add its impl
the bug caused array of tuples that were not spreaded to spread twice

to fix this, the Peele
added extra tuple for each peeled item in the PeelRight types
@airismadeupofair airismadeupofair closed this by deleting the head repository May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant