Module: Immutable

Defined in:
lib/immutable.rb,
lib/immutable/map.rb,
lib/immutable/list.rb,
lib/immutable/queue.rb,
lib/immutable/deque.rb,
lib/immutable/stream.rb,
lib/immutable/promise.rb,
lib/immutable/headable.rb,
lib/immutable/consable.rb,
lib/immutable/foldable.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

Nil =

Immutable::Nil represents an empty list.

List.new