Skip to content

Typeclass derivation case #28

Answered by NPCRUS
NPCRUS asked this question in Q&A
Jan 23, 2025 · 3 comments · 6 replies
Discussion options

You must be logged in to vote

surprisingly just a simple given conversion started working:

given [T: ValueExtractor]: FilterExtractor[T] = input => summon[ValueExtractor[T]].extract(input.map(_._2)

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@propensive
Comment options

@NPCRUS
Comment options

NPCRUS Jan 23, 2025
Author Sponsor

@propensive
Comment options

@NPCRUS
Comment options

NPCRUS Jan 27, 2025
Author Sponsor

Answer selected by NPCRUS
@propensive
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants