diff -r e25dbfce40e9 -r ebe08056c60c samples/effectivelist/src/org/apidesign/effectivelist/Listable.scala --- a/samples/effectivelist/src/org/apidesign/effectivelist/Listable.scala Fri Aug 31 20:16:57 2012 +0200 +++ b/samples/effectivelist/src/org/apidesign/effectivelist/Listable.scala Sun Sep 02 22:00:13 2012 +0200 @@ -3,7 +3,9 @@ /** A member of a {@link List} that makes keeping references * to previous and next items in the list effective. */ +// BEGIN: effectivelist.item trait Listable[T <: Listable[T]] { private[effectivelist] var prev : T = _ private[effectivelist] var next : T = _ } +// END: effectivelist.item