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

dllist<%> : interface?

Defines a doubly-linked.

(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.

(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.

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

  f : ((is-a?/c dllist<%>) . -> . void?)

Applies f to every element of the dllist.

(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.