Open GoogleCodeExporter opened 9 years ago
17:05 < timmyd> BrianRice: btw looks like Number traits roles is broken 17:05 < timmyd> The method #skipUntil: was not found for the following arguments: 17:05 < timmyd> {("RoleReadStream traitsWindow" index: 0. map: ("Map" ...)). [(arity: 1)]} 17:05 -!- Irssi: Pasting 8 lines to #slate. Press Ctrl-K if you wish to do this or Ctrl-C to cancel. 17:05 < timmyd> s@(FilterStream traits) next: n putInto: seq startingAt: start 17:05 < timmyd> [| numWritten | 17:05 < timmyd> numWritten: 0. 17:05 < timmyd> [s source isAtEnd \/ [numWritten >= seq size]] whileFalse: 17:05 < timmyd> [s source skipUntil: [| :elem | s block applyWith: elem]. 17:05 < timmyd> [s source isAtEnd not /\ [numWritten < seq size /\ [s block applyWith: s peek]]] 17:05 < timmyd> whileTrue: [result nextPut: s next. numWritten: numWritten + 1]]. 17:05 < timmyd> numWritten 17:05 < timmyd> ]. 17:06 < timmyd> that needs to be updated to the new stream api....
Original issue reported on code.google.com by google@timmy.tmbx.com on 5 Jun 2010 at 9:12
google@timmy.tmbx.com
Original issue reported on code.google.com by
google@timmy.tmbx.com
on 5 Jun 2010 at 9:12