Mimics
Inactive cells
Active cells
Specs
Inactive cells (details)
collecting = false
kind = "Sequence DropWhile"
Active cells (details)
next()

nil

method(
  if(@ current?, 
    @ current? = false 
    @ cell(:current), 
    while(@ wrappedSequence next?, 
      n = @ wrappedSequence next 
      x = transformValue(cell(:n)) 
      if(
        unless(@ collecting, 
          unless(cell(:x), 
            @ collecting = true, 
            false), 
          true), 
        return(
          cell(:n)))) 
    ) 
  )
next?()

nil

method(
  if(@ current?, 
    true, 
    while(@ wrappedSequence next?, 
      n = @ wrappedSequence next 
      x = transformValue(cell(:n)) 
      if(
        unless(@ collecting, 
          unless(cell(:x), 
            @ collecting = true, 
            false), 
          true), 
        @ current? = true 
        @ current = cell(:n) 
        return(true) 
        ) 
      ) 
    false) 
  )