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

nil

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

nil

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