generalizing NeoCSV

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

generalizing NeoCSV

Tudor Girba-2
Hi Sven,

I am looking at NeoCSV, and I would like to add it to Moose by default.

During the review, I noticed that it relies on perform:

addRawField: accessor
"Add a field based on an accessor to be written as a #raw field"

self addFieldAccessor: [ :object |
self writeRawField: (object perform: accessor) ]

I would prefer to have it modified to simply use value:. In this way we can pass blocks as transformation specifications.

Why is this important? Because we often have values that we want to export but that do not have a direct correspondent in a unary method.

Would it be Ok to make this modification?

Cheers,
Doru

--

"Every thing has its own flow"

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