Re: Chronos package loading error (Chronos)

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

Re: Chronos package loading error (Chronos)

Paul DeBruicker
> Chronos REQUIRES that the message #future NOT be inlined. The requirement
> PREDATES the inlining of #future, and so WILL NOT BE CHANGED, since temporal
> precedence MUST BE RESPECTED.
>
> Also, 'future' belongs with greater weight and precedent to the domain of
> time, and date/time functionality is  more fundamental than the competing
> usage.
>
> Finally, and most critically: Inlining of messages is a direct contradiction
> of the principles on which Smalltalk is based.
>


I changed InfiniteTimepoint polarity: to use

self perform: #future

rather than

self future

and the Chronos package loaded into Squeak 4.2 without complaint.  I
don't know what ill effects that may have on the rest of the package.
Things seem to work as expected, but I know I haven't tested it
thoroughly. I think it does avoid the issue I was having with loading
the Chronos package into Squeak 4.2.

Thanks

Paul
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Chronos package loading error (Chronos)

Andreas.Raab
On 3/10/2011 1:50 PM, Paul DeBruicker wrote:

> I changed InfiniteTimepoint polarity: to use
>
> self perform: #future
>
> rather than
>
> self future
>
> and the Chronos package loaded into Squeak 4.2 without complaint. I
> don't know what ill effects that may have on the rest of the package.

None whatsoever. The message #future is only used in one place and you
fixed it. Good job.

Cheers,
   - Andreas

> Things seem to work as expected, but I know I haven't tested it
> thoroughly. I think it does avoid the issue I was having with loading
> the Chronos package into Squeak 4.2.
>
> Thanks
>
> Paul

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners