C# Класс clojure.lang.LazyCons

A cons cell constructed lazily by a call to an IFn.
The 'first' is computed by calling f(). The 'rest' is computed by calling f(null).
Наследование: clojure.lang.ASeq
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
_f IFn
_first object
_rest ISeq

Открытые методы

Метод Описание
LazyCons ( IFn f ) : System

Construct a lazy cons on a function.

withMeta ( IPersistentMap meta ) : IObj

Create a copy with new metadata.

Приватные методы

Метод Описание
LazyCons ( IPersistentMap meta, object first, ISeq rest ) : System

Construct a lazy cons on a function, with attached metadata.

first ( ) : object
rest ( ) : ISeq

Описание методов

LazyCons() публичный Метод

Construct a lazy cons on a function.
public LazyCons ( IFn f ) : System
f IFn The function that will create first/rest.
Результат System

withMeta() публичный Метод

Create a copy with new metadata.
public withMeta ( IPersistentMap meta ) : IObj
meta IPersistentMap The new metadata.
Результат IObj

Описание свойств

_f защищенное свойство

The function generating the first and rest.
protected IFn _f
Результат IFn

_first защищенное свойство

The first item of the sequence, when computed.
protected object _first
Результат object

_rest защищенное свойство

The rest of the sequence, when computed.
protected ISeq _rest
Результат ISeq