Copyright 2008 - 2010 Tony Morris, Runar Bjarnason, Tom Adams, Brad Clow, Ricky Clarkson, Nick Partridge, Jason Zaugg

This software is released under an open source BSD licence.

fj.data.hlist
Class HList.HNil

java.lang.Object
  extended by fj.data.hlist.HList<HList.HNil>
      extended by fj.data.hlist.HList.HNil
Enclosing class:
HList<A extends HList<A>>

public static final class HList.HNil
extends HList<HList.HNil>

The empty list


Nested Class Summary
 
Nested classes/interfaces inherited from class fj.data.hlist.HList
HList.Apply<F$,A,R>, HList.HAppend<A,B,C>, HList.HCons<E,L extends HList<L>>, HList.HFoldr<G,V,L,R>, HList.HNil
 
Method Summary
<E> HList.HCons<E,HList.HNil>
extend(E e)
          Extends (cons) this list by prepending the given element, returning a new list.
<E> HList.Apply<Unit,P2<E,HList.HNil>,HList.HCons<E,HList.HNil>>
extender()
           
 
Methods inherited from class fj.data.hlist.HList
cons, nil, single
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

extend

public <E> HList.HCons<E,HList.HNil> extend(E e)
Description copied from class: HList
Extends (cons) this list by prepending the given element, returning a new list.

Specified by:
extend in class HList<HList.HNil>
Parameters:
e - an element to prepend to this list.
Returns:
a new heterogeneous list, consisting of the given element prepended to this list.

extender

public <E> HList.Apply<Unit,P2<E,HList.HNil>,HList.HCons<E,HList.HNil>> extender()
Specified by:
extender in class HList<HList.HNil>

Copyright 2008 - 2010 Tony Morris, Runar Bjarnason, Tom Adams, Brad Clow, Ricky Clarkson, Nick Partridge, Jason Zaugg

This software is released under an open source BSD licence.