pub fn new<CellIter: IntoIterator<Item=usize>>(action: Action, import_cells: CellIter, num_cells: usize, arg_count: usize, returns_monad: bool) -> StackClosure<Action> {
        StackClosure {
            action:         Arc::new(action),
            import_cells:   import_cells.into_iter().collect(),
            num_cells:      num_cells,
            arg_count:      arg_count,
            returns_monad:  returns_monad
        }
    }
///
/// Creates a new closure monad
/// 
/// The cell IDs are in the form of (source, target)
///
Creates a new closure monad
The cell IDs are in the form of (source, target)
Creates a new closure monad The cell IDs are in the form of ( source target )
pub fn new<CellIter: IntoIterator<Item=usize>>(action: Action, import_cells: CellIter, num_cells: usize, arg_count: usize, returns_monad: bool) -> StackClosure<Action> {
        StackClosure {
            action:         Arc::new(action),
            import_cells:   import_cells.into_iter().collect(),
            num_cells:      num_cells,
            arg_count:      arg_count,
            returns_monad:  returns_monad
        }
    }
pub fn new < CellIter : IntoIterator < Item = usize > > ( action : Action , import_cells : CellIter , num_cells : usize , arg_count : usize , returns_monad : bool ) -> StackClosure < Action > { StackClosure { action : Arc :: new ( action ) , import_cells : import_cells . into_iter ( ) . collect ( ) , num_cells : num_cells , arg_count : arg_count , returns_monad : returns_monad } }
Creates a new closure monad
The cell IDs are in the form of (source, target)
Creates a new closure monad The cell IDs are in the form of ( source target )
action
Action
import_cells
CellIter
num_cells
usize
arg_count
usize
returns_monad
bool
action
Action
import_cells
CellIter
num_cells
usize
arg_count
usize
returns_monad
bool