Re: CollectionExtension>> testFlatCollectArray needs Nile?

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

Re: CollectionExtension>> testFlatCollectArray needs Nile?

Tudor Girba
Why not depend on it?

I think that if we are not using Nile, all the nice work goes away. Are there any problems related to it?

Cheers,
Doru

On 3 Dec 2010, at 16:03, Alexandre Bergel wrote:

> Hi!
>
> testFlatCollectArray uses flatCollect:, which itself uses nsWriteStream.
> Is this really necessary to have Nile for this flatCollect:? Mondrian loads CollectionExtension. Is there a particular reason for this? I would rather prefer not to depend on CollectionExtension in that case...
>
> testFlatCollectArray
> "self debug: #testFlatCollectArray"
>
> self assert: ((#((1 2) (3 4) (5 3)) flatCollect: [ :each | each ] as: Array ) = #(1 2 3 4 5 3)).
> ...
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>

--
www.tudorgirba.com

"In a world where everything is moving ever faster,
one might have better chances to win by moving slower."




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: CollectionExtension>> testFlatCollectArray needs Nile?

Alexandre Bergel
Ah, the dependency CollectionExtension -> Nile is therefore intensional. I wasn't sure of this since only one test fails without having Nile.
Nile does not depend on anything and has 625 green unit test. So there is no problem to depend on it.

Other pressing thing: I am working on solving the Shout mess in Moose. I am almost done (i've created versions and baseline in various dependent project). I am bumping into dep issues, less severe apparently:
-=-=-=-=-=-=-=-=-=-=-=-=
This package depends on the following classes:
  MalTarjanNode
  MalGraphNode
  MOCycleTable
  MalCyclesCoverage
You must resolve these dependencies before you will be able to load these definitions:
  DSMCycleTable
  DSMCycleTable>>cellShape
  ...
-=-=-=-=-=-=-=-=-=-=-=-=
I do not understand why, since I in ConfigurationOfDSM there is:
        spec
                package: 'Moose-Dsm';
                package: 'Moose-CycleTable' with: [spec requires: #('Mondrian for DSM' 'MooseAlgos for DSM')];

Any idea?

Cheers,
Alexandre


On 3 Dec 2010, at 12:16, Tudor Girba wrote:

> Why not depend on it?
>
> I think that if we are not using Nile, all the nice work goes away. Are there any problems related to it?
>
> Cheers,
> Doru
>
> On 3 Dec 2010, at 16:03, Alexandre Bergel wrote:
>
>> Hi!
>>
>> testFlatCollectArray uses flatCollect:, which itself uses nsWriteStream.
>> Is this really necessary to have Nile for this flatCollect:? Mondrian loads CollectionExtension. Is there a particular reason for this? I would rather prefer not to depend on CollectionExtension in that case...
>>
>> testFlatCollectArray
>> "self debug: #testFlatCollectArray"
>>
>> self assert: ((#((1 2) (3 4) (5 3)) flatCollect: [ :each | each ] as: Array ) = #(1 2 3 4 5 3)).
>> ...
>>
>> Cheers,
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>
> --
> www.tudorgirba.com
>
> "In a world where everything is moving ever faster,
> one might have better chances to win by moving slower."
>
>
>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev