On this page:
next
prev
for-each
map-to-list

interface

dllist<%> : interface?

Defines a doubly-linked.

method

(send a-dllist next)  (is-a?/c dllist<%>)

(send a-dllist next new-next)  void?
  new-next : (is-a?/c dllist<%>)
Gets/sets the next field to be the given dllist.

method

(send a-dllist prev)  (is-a?/c dllist<%>)

(send a-dllist prev new-prev)  void?
  new-prev : (is-a?/c dllist<%>)
Gets/sets the previous item in the list.

method

(send a-dllist for-each f)  void?

  f : ((is-a?/c dllist<%>) . -> . void?)
Applies f to every element of the dllist.

method

(send a-dllist map-to-list f)  (listof any/c)

  f : ((is-a?/c dllist<%>) . -> . any/c)
Creates a Scheme list by applying f to every element of a-dllist.