One of the distinguishing features of the HList
(a data structure which combines the characteristics of
both sequences and tuples) implementation in shapeless is its support for a map()
higher-order function
which, superficially at least, appears to operate very similarly to the one defined on ordinary Scala collection types
like List
,