The Trunk: Nebraska-mt.59.mcz

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

The Trunk: Nebraska-mt.59.mcz

Marcel Taeumel uploaded a new version of Nebraska to project The Trunk:

==================== Summary ====================

Name: Nebraska-mt.59
Author: mt
Time: 14 October 2020, 2:05:01.937569 pm
UUID: b038a014-2599-1f46-a713-c3650ab58fa6
Ancestors: Nebraska-mt.58

Rename #doWithIndex: to #withIndexDo:. See

=============== Diff against Nebraska-mt.58 ===============

Item was changed:
  ----- Method: MatrixTransform2x3 class>>fromRemoteCanvasEncoding: (in category '*nebraska-instance creation') -----
  fromRemoteCanvasEncoding: encoded
  "DisplayTransform fromRemoteCanvasEncoding:  'Matrix,1065353216,0,1137541120,0,1065353216,1131610112,'"
  | nums transform encodedNums |
  "split the numbers up"
  encodedNums := encoded findTokens: ','.
  "remove the initial 'Matrix' specification"
  encodedNums := encodedNums asOrderedCollection.
  encodedNums removeFirst.
  "parse the numbers"
  nums := encodedNums collect: [ :enum |
  Integer readFromString: enum ].
  "create an instance"
  transform := self new.
  "plug in the numbers"
+ nums withIndexDo: [ :num :i |
- nums doWithIndex: [ :num :i |
  transform basicAt: i put: num ].