Crate cons_rs

source ·
Expand description

A list of nested pairs.

The type List represents an immutable singly linked list. Every List is either Cons and contains a value and another List, or Nil, which contains nothing.

Re-exports

  • pub use List::Cons;
  • pub use List::Nil;

Structs

Enums

Type Definitions

  • An alias for the data contained by a Cons, (T, List<T>).