Mimics
Inactive cells
Active cells
Specs
Inactive cells (details)
kind = "Sequence Slice"
Active cells (details)
create(wrappedSequence, context, messages, +rest)

nil

method(wrappedSequence, context, messages, +rest, 
  res = mimic 
  res wrappedSequence = wrappedSequence 
  res context = context 
  res messages = messages 
  res restArguments = rest 
  res ary = list 
  res 
  )
next()

nil

method(
  while(wrappedSequence next?, 
    ary push!(wrappedSequence next) 
    if(ary length ==(restArguments [](0)), 
      yieldAry = ary mimic 
      @ ary = list 
      return(yieldAry))) 
  if(ary length >(0), ary) 
  )
next?()

nil

method(
  wrappedSequence next? ||(ary length >(0)))