pub fn list_with_cells<Cells: IntoIterator<Item=CellRef>>(cells: Cells) -> CellRef 
    where Cells::IntoIter : DoubleEndedIterator {
        // The first cell requires special treatment
        let cells       = cells.into_iter().rev();

        // We build the list by adding to the end
        let mut cell    = NIL.clone();
        for current_cell in cells {
            cell = SafasCell::List(current_cell, cell).into();
        }

        // Final result
        cell
    }
///
/// Turns an iterator of cells into a list
///
Turns an iterator of cells into a list
Turns an iterator of cells into a list
pub fn list_with_cells<Cells: IntoIterator<Item=CellRef>>(cells: Cells) -> CellRef 
    where Cells::IntoIter : DoubleEndedIterator {
        // The first cell requires special treatment
        let cells       = cells.into_iter().rev();
        // We build the list by adding to the end
        let mut cell    = NIL.clone();
        for current_cell in cells {
            cell = SafasCell::List(current_cell, cell).into();
        }
        // Final result
        cell
    }
pub fn list_with_cells < Cells : IntoIterator < Item = CellRef > > ( cells : Cells ) -> CellRef where Cells :: IntoIter : DoubleEndedIterator { // The first cell requires special treatment let cells = cells . into_iter ( ) . rev ( ) ; // We build the list by adding to the end let mut cell = NIL . clone ( ) ; for current_cell in cells { cell = SafasCell :: List ( current_cell , cell ) . into ( ) ; } // Final result cell }
Turns an iterator of cells into a list
Turns an iterator of cells into a list
cells
Cells
cells
Cells