Re: Stream instance #skip:

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Stream instance #skip:

Herby Vojčík
Herby Vojčík wrote:

> gcambi wrote:
>> Hello,
>> here is how Stream instance method #skip: is defined:
>>
>> ||
>> skip: anInteger
>> self position: ((self position + anInteger) min: self size max: 0)
>>
>> but #min:max is not defined as Number instance method.
>>
>> So I think we need to create one, or simply we distribute parenthesis

Feel free to add PR with Number >> #min:max:. Registering is now allowed
again.

>> differently:
>>
>> ||
>> skip: anInteger
>> self position: ((self position + anInteger min: self size) max: 0)
>>
>> Should be for a small problem like this preferably reported an issue
>> at https://lolg.it/amber/amber-website/issues instead of posting here?
>> Cheers.
>
> Yeah, it is better to simply make it an issue (which it actually is).
>
> I stopped registering few weeks ago because some bot started to create
> fake users regularly and ISP tought it was spamming when sending
> registration emails, but I'll enable it again, albeit without the
> registration emails (let me know you want to be enabled once you register).
>
> Herby
>
>> --
>> You received this message because you are subscribe
> d to the Google
>> Groups "amber-lang" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an email to [hidden email]
>> <mailto:[hidden email]>.
>> For more options, visit https://groups.google.com/d/optout.
>
>

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Stream instance #skip:

gcambi
As Herby pointed me out, the issue was already reported and no longer subsist in the most recent version of Amber. 

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Loading...