Module: Immutable

Defined in:
lib/immutable.rb,
lib/immutable/map.rb,
lib/immutable/list.rb,
lib/immutable/deque.rb,
lib/immutable/queue.rb,
lib/immutable/stream.rb,
lib/immutable/promise.rb,
lib/immutable/consable.rb,
lib/immutable/foldable.rb,
lib/immutable/headable.rb,
lib/immutable/output_restricted_deque.rb

Overview

Immutable is a namespace for immutable data structures.

Defined Under Namespace

Modules: Consable, Foldable, Headable Classes: Cons, Deque, EmptyError, List, Map, OutputRestrictedDeque, Promise, Queue, Stream

Constant Summary collapse

Nil =

Immutable::Nil represents an empty list.

List.new