Skip to content

Conversation

@jdharrisnz
Copy link
Contributor

@jdharrisnz jdharrisnz commented Dec 4, 2025

Type

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

Add pure memoization wrapper function to the Function module.

Questions:

  • Do you think there is value in the memoThis alias? It's rare that this is used in type signatures, and the implementation uses it so it's valid, but it might just be unnecessary noise.
  • Should the helpers be in some internal file or are they ok where they are with the @internal tag?
  • Should this also be used internally, to replace Hash.cached for example? And if so, what are all the candidates for replacing manual caching? Would those changes belong in this PR or another?

@github-project-automation github-project-automation bot moved this to Discussion Ongoing in PR Backlog Dec 4, 2025
@changeset-bot
Copy link

changeset-bot bot commented Dec 4, 2025

🦋 Changeset detected

Latest commit: 6248d2c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 36 packages
Name Type
effect Minor
@effect/cli Major
@effect/cluster Major
@effect/experimental Major
@effect/opentelemetry Major
@effect/platform-browser Major
@effect/platform-bun Major
@effect/platform-node-shared Major
@effect/platform-node Major
@effect/platform Major
@effect/printer-ansi Major
@effect/printer Major
@effect/rpc Major
@effect/sql-clickhouse Major
@effect/sql-d1 Major
@effect/sql-drizzle Major
@effect/sql-kysely Major
@effect/sql-libsql Major
@effect/sql-mssql Major
@effect/sql-mysql2 Major
@effect/sql-pg Major
@effect/sql-sqlite-bun Major
@effect/sql-sqlite-do Major
@effect/sql-sqlite-node Major
@effect/sql-sqlite-react-native Major
@effect/sql-sqlite-wasm Major
@effect/sql Major
@effect/typeclass Major
@effect/vitest Major
@effect/workflow Major
@effect/ai Major
@effect/ai-amazon-bedrock Major
@effect/ai-anthropic Major
@effect/ai-google Major
@effect/ai-openai Major
@effect/ai-openrouter Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@effect-bot effect-bot force-pushed the next-minor branch 14 times, most recently from e3d3440 to 0d30948 Compare December 10, 2025 22:02
@effect-bot effect-bot force-pushed the next-minor branch 4 times, most recently from 5540156 to f752fc3 Compare December 13, 2025 05:00
@effect-bot effect-bot force-pushed the next-minor branch 5 times, most recently from 24ae504 to 6bc6da5 Compare December 23, 2025 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Discussion Ongoing

Development

Successfully merging this pull request may close these issues.

1 participant