Skip to content

Comments

Pure caching POC #1880

Draft
Baccata wants to merge 9 commits intoseries/0.18from
baccata/pure-caching-poc-2
Draft

Pure caching POC #1880
Baccata wants to merge 9 commits intoseries/0.18from
baccata/pure-caching-poc-2

Conversation

@Baccata
Copy link
Contributor

@Baccata Baccata commented Jan 29, 2026

No description provided.

@Baccata Baccata changed the base branch from lazyschema-bug-recursionspec to series/0.18 January 29, 2026 16:50
}

private final case class Pure[A](a: A) extends Compilation[A]
private final case class Delegate[F[_], A](schema: Schema[A], compiler: Visitor[F]) extends Compilation[F[A]]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've been playing around with trying to make the codecs compiled by this implementation stack safe, in doing so I can't help but feel Delegate here is a flatMap in disguise.

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.

3 participants