Access tuple-like container by type to return an index -- Krzysztof Ostrowski

Save to:
Instapaper Pocket Readability

How would you look for an item in a tuple by the item's type, and return the item's index within that tuple?

Access tuple-like container by type to return an index

by Krzysztof Ostrowski

From the article:

Presentation of a technique that composes an application of a lazy fold expression, and an idea of type embellishment that introduces an implicit context in which the current tuple element is embedded.

Add a Comment

You must sign in or register to add a comment.

Comments (0)

There are currently no comments on this entry.