Mimics
Inactive cells
Active cells
Specs
Inactive cells (details)
kind = "Sequence Drop"
Active cells (details)
next()

nil

method(
  if(@ current?, 
    @ current? = false 
    @ cell(:current), 
    while(@ wrappedSequence next?, 
      n = @ wrappedSequence next 
      x = transformValue(cell(:n)) 
      if(
        if(restArguments [](0) ==(0), true, restArguments [](0) = restArguments [](0) -(1) 
          false), 
        return(
          cell(:n)))) 
    ) 
  )
next?()

nil

method(
  if(@ current?, 
    true, 
    while(@ wrappedSequence next?, 
      n = @ wrappedSequence next 
      x = transformValue(cell(:n)) 
      if(
        if(restArguments [](0) ==(0), true, restArguments [](0) = restArguments [](0) -(1) 
          false), 
        @ current? = true 
        @ current = cell(:n) 
        return(true) 
        ) 
      ) 
    false) 
  )