Smalltalk
›
Pharo
›
Pharo Smalltalk Users
Search
everywhere
only in this topic
Advanced Search
Generators
‹
Previous Topic
Next Topic
›
Classic
List
Threaded
♦
♦
Locked
4 messages
drush66
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Generators
I have found on StackOverflow that GNU and Squeak support Generators:
http://stackoverflow.com/questions/6529815/how-are-coroutines-implemented-in-smalltalk
Could they be used with Pharo?
Davorin Rusevljan
http://www.cloud208.com/
http://www.cloud208.com/
Marcus Denker-4
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Re: Generators
On Sep 20, 2011, at 3:50 PM, drush66 wrote:
> I have found on StackOverflow that GNU and Squeak support Generators:
>
>
http://stackoverflow.com/questions/6529815/how-are-coroutines-implemented-in-smalltalk
>
> Could they be used with Pharo?
According to this tracker entry:
http://code.google.com/p/pharo/issues/detail?id=3527
Class Generator was added as 13009 very early in 1.3.
Yet, in my 1.3 there is no class Generator...
(nobody needed it, either...)
I will re-open the report.
--
Marcus Denker --
http://marcusdenker.de
hernanmd
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Re: Generators
Hi Marcus
2011/9/20 Marcus Denker <
[hidden email]
>:
>
> On Sep 20, 2011, at 3:50 PM, drush66 wrote:
>
>> I have found on StackOverflow that GNU and Squeak support Generators:
>>
>>
http://stackoverflow.com/questions/6529815/how-are-coroutines-implemented-in-smalltalk
>>
>> Could they be used with Pharo?
>
> According to this tracker entry:
>
>
http://code.google.com/p/pharo/issues/detail?id=3527
>
> Class Generator was added as 13009 very early in 1.3.
>
> Yet, in my 1.3 there is no class Generator...
>
> (nobody needed it, either...)
>
I'm using generators for filling values on matrices and random
residues on sequences. For example;
( Generator on: [: g | 15 timesRepeat: [ g yield: 2 ] ] ) upToEnd
Hernán
Stéphane Ducasse
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Re: Generators
In reply to
this post
by Marcus Denker-4
Strange I'm quite sure that I integrated in 1.3 :)
Stef
On Sep 20, 2011, at 3:57 PM, Marcus Denker wrote:
>
> On Sep 20, 2011, at 3:50 PM, drush66 wrote:
>
>> I have found on StackOverflow that GNU and Squeak support Generators:
>>
>>
http://stackoverflow.com/questions/6529815/how-are-coroutines-implemented-in-smalltalk
>>
>> Could they be used with Pharo?
>
> According to this tracker entry:
>
>
http://code.google.com/p/pharo/issues/detail?id=3527
>
> Class Generator was added as 13009 very early in 1.3.
>
> Yet, in my 1.3 there is no class Generator...
>
> (nobody needed it, either...)
>
> I will re-open the report.
>
>
> --
> Marcus Denker --
http://marcusdenker.de
>
>
Free forum by Nabble
Edit this page