Unpack

org.parboiled2.support.Unpack
See theUnpack companion object
sealed trait Unpack[L <: HList]

"Unpacks" an HList if it has only zero or one element(s). Out = Unit if L == HNil T if L == T :: HNil L otherwise

You can import Unpack.dontUnpack if you'd like to circumvent this unpacking logic.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Types

type Out

Value members

Abstract methods

def apply(hlist: L): Out