Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typical Tyrant #6

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Typical Tyrant #6

wants to merge 6 commits into from

Conversation

brekk
Copy link
Owner

@brekk brekk commented Dec 24, 2023

  • Updates to monoculture-tsconfig
  • Created a typed-packages/microplastic workspace. Still WIP
  • remeda has better types but doesn't appear to be particularly well suited to tacit + curried functions

@brekk brekk added 😵 workspace:typed-package Packages plus a type system of dubious utility! ✨ enhancement New feature or request labels Dec 24, 2023
@brekk brekk linked an issue Jan 3, 2024 that may be closed by this pull request
@brekk brekk added the ⏸️ paused Effort on this is paused label Jan 4, 2024
@brekk
Copy link
Owner Author

brekk commented Jan 4, 2024

Paused on this while I think about how to best approach this.

@brekk brekk changed the title Sloppy types for everyone! Typical Tyrant Jan 23, 2024
@brekk
Copy link
Owner Author

brekk commented Feb 6, 2024

TS is unhappy with all of these tests in different (and incorrect ways), but thus far I don't see a compelling reason to move away from ramda, the one passing remeda test eschews all of the utility of tacit / automatic currying:

    ✓ remeda -- equalishBy - no curry (1 ms)
    ✕ remeda -- equalishBy - inline-type (1 ms)
    ✕ remeda -- equalishBy - curry
    ✓ ramda  -- equalishBy (1 ms)
    ✓ ramda  -- equalishBy - undeclared application (1 ms)

If there's fundamentally a better way of writing automatically curried functions in TS I don't know of one.

See also:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement New feature or request ⏸️ paused Effort on this is paused 😵 workspace:typed-package Packages plus a type system of dubious utility!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TS is a thing
1 participant