Re: [Pharo-users] Lost in stream

2018-06-17 Thread Sven Van Caekenberghe



> On 18 Jun 2018, at 02:18, monty  wrote:
> 
> Also consider using XMLParser's built-in file reading support: 
> #parseFileNamed:/#onFileNamed:. They work cross platform (Squeak, GS), and 
> handle character decoding.

Monty, do these (already) work with all the latest changes in Pharo 7, I mean 
the deprecation of FileStream and subclasses as well as 
[RW|MultiByte]BinaryOrTextStream for FileReference, File and Zn streams ?

If not, we should help you.

Sven


Re: [Pharo-users] Lost in stream

2018-06-17 Thread monty
Are you developing in Squeak? I ask because the XML parser in the default 
Squeak image is very old. You can download the latest Pharo XMLParser lib from 
the SqueakMap. It's the "XMLParser" project. Other libs I maintain are also 
available as SM projects, like "XMLParser-XPath".

If you're doing DOM parsing, you can save a parsed DOM document to a file using 
a message like #printToFileNamed: (see the XMLNode "printing" category for 
more).

___
montyos.wordpress.com


> Sent: Saturday, June 16, 2018 at 4:27 AM
> From: Hilaire 
> To: pharo-users@lists.pharo.org
> Subject: Re: [Pharo-users] Lost in stream
>
> Sometime you just need a good sleep, which I was fortunate to have.
> 
> My newer code append contents to existing file, so it lead to corrupted 
> files at the end. Ensuring it is deleted first solved the problem:
> 
> (location  asFileReference / filename) ensureDelete binaryWriteStreamDo: 
> [ :fileStream |
>         fileStream nextPutAll: stream contents]
> 
> There is still the issue of XML entity I described in an previous email, 
> the impact is minor for Dr. Geo though. Do other have issues with that?
> 
> Hilaire
> 
> 
> Le 15/06/2018 à 18:31, Hilaire a écrit :
> > This fromer code to save file (xml or PNG file):
> >
> > " |streamOnDisk|
> >     [streamOnDisk := MultiByteFileStream forceNewFileNamed: (self 
> > absolutePath: filename).
> >     streamOnDisk nextPutAll: stream contents] ensure:
> >         [streamOnDisk close]"
> >
> > and the newer one:
> >
> >     (location  asFileReference / filename) binaryWriteStreamDo: [ 
> > :fileStream |
> >         fileStream nextPutAll: stream contents]
> >
> > The new one produce both wrong XML file and PNG file. The file looks 
> > short cuted at the end.
> 
> -- 
> Dr. Geo
> http://drgeo.eu
> 
> 
> 
>



Re: [Pharo-users] Lost in stream

2018-06-17 Thread monty
Print-evaluate this:
'
' parseXML

and you should get (with any recent XMLParser lib):


If you don't want entity replacement, set #replacesContentEntityReferences: to 
false. Also consider using XMLParser's built-in file reading support: 
#parseFileNamed:/#onFileNamed:. They work cross platform (Squeak, GS), and 
handle character decoding.

___
montyos.wordpress.com


> Sent: Saturday, June 16, 2018 at 4:27 AM
> From: Hilaire 
> To: pharo-users@lists.pharo.org
> Subject: Re: [Pharo-users] Lost in stream
>
> Sometime you just need a good sleep, which I was fortunate to have.
> 
> My newer code append contents to existing file, so it lead to corrupted 
> files at the end. Ensuring it is deleted first solved the problem:
> 
> (location  asFileReference / filename) ensureDelete binaryWriteStreamDo: 
> [ :fileStream |
>         fileStream nextPutAll: stream contents]
> 
> There is still the issue of XML entity I described in an previous email, 
> the impact is minor for Dr. Geo though. Do other have issues with that?
> 
> Hilaire
> 
> 
> Le 15/06/2018 à 18:31, Hilaire a écrit :
> > This fromer code to save file (xml or PNG file):
> >
> > " |streamOnDisk|
> >     [streamOnDisk := MultiByteFileStream forceNewFileNamed: (self 
> > absolutePath: filename).
> >     streamOnDisk nextPutAll: stream contents] ensure:
> >         [streamOnDisk close]"
> >
> > and the newer one:
> >
> >     (location  asFileReference / filename) binaryWriteStreamDo: [ 
> > :fileStream |
> >         fileStream nextPutAll: stream contents]
> >
> > The new one produce both wrong XML file and PNG file. The file looks 
> > short cuted at the end.
> 
> -- 
> Dr. Geo
> http://drgeo.eu
> 
> 
> 
>



Re: [Pharo-users] Windows installation broken?

2018-06-17 Thread horrido
This is what concerns me. I don't care that there are workarounds
(undocumented or hard to find).

I care that Windows is a most popular development platform. I care that
newcomers to Pharo easily find what they need to get started. I care about
Pharo's reputation.

The last thing Pharo needs is a black eye.


Travis Ayres wrote
> I wonder how many people tried Pharo, thought "Oh this is totally broken"
> and are never going to give it a second (or third) chance.
> 
> On Sun, Jun 17, 2018 at 11:26 AM, 

> phil@

>  <

> phil@

> >
> wrote:
> 
>> The current website shows the wrong link, the installer for the bleeding
>> edge is the wrong one in files.
>> The situation on the Windows front is very very bad and not really
>> improving.
>>
>> That being said, the installer on the CI is the right one and works.
>>
>> so, steal the installer from here: https://ci.inria.fr/pharo-ci-
>> jenkins2/job/PharoLauncher
>>
>> This is the one you want:
>>
>> https://ci.inria.fr/pharo-ci-jenkins2/job/PharoLauncher/
>>
>> For having the latest lastet everything, go to the launcher settings, get
>> into the devmode and open monticello and load the latest packages.
>>
>> Phil





--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



Re: [Pharo-users] Windows installation broken?

2018-06-17 Thread p...@highoctane.be
Install for the msi on the CI.

https://ci.inria.fr/pharo-ci-jenkins2/job/PharoLauncher/

On Sun, Jun 17, 2018 at 7:02 PM PBKResearch  wrote:

> Tried ‘Run as administrator’ – same result. Also tried to uninstall
> launcher, both by double-clicking ‘uninstall.exe’ and via Windows settings
> menu. Nothing happens. It really is broken.
>
>
>
> Peter Kenny
>
>
>
> *From:* Richard Sargent 
> *Sent:* 17 June 2018 17:42
> *To:* Any question about pharo is welcome ;
> PBKResearch ; 'Any question about pharo is
> welcome' 
> *Subject:* Re: [Pharo-users] Windows installation broken?
>
>
>
> Try running the launcher as administrator.
> It may not help, but I recall this was a problem not long ago.
>
> On June 17, 2018 9:08:50 AM PDT, PBKResearch 
> wrote:
>
> I tried downloading the standalone version of Pharo 6.1 in a fresh folder, 
> and everything seems fine.
>
> I then tried the Pharo Launcher, which I have never used before. I installed 
> the template for Pharo 6.1 (stable) and tried to launch it. The launcher 
> window closed, and nothing happened. The Task Manager confirms that it is not 
> running invisibly in the background. So for me the launcher is not working, 
> though the standalone version is fine.
>
> I am using Windows 10 with all recent updates, on a 4GB machine with Intel 
> Core i3 processor.
>
> Hope this helps
>
> Peter Kenny
>
> -Original Message-
> From: Pharo-users  On Behalf Of Hernán 
> Morales Durand
> Sent: 17 June 2018 05:50
> To: Any question about pharo is welcome 
> Subject: Re: [Pharo-users] Windows installation broken?
>
> It is broken. I always use the ZeroConf CLI through wget or curl.
>
> Cheers,
>
> Hernan
> El dom., 17 jun. 2018 a las 0:40, horrido
> () escribió:
>
>
>  Someone told me that they had difficulties installing Pharo under
>  Windows. So I had to see for myself.
>
>  I booted my Mac mini into Windows 7 Ultimate (using Boot Camp),
>  downloaded and installed Pharo Launcher.
>
>  That person was indeed correct. The Windows version of Pharo is badly
>  broken. I created images for Pharo 5.0, 6.1, and 7.0, and all three
>  refused to open (presumably, they just crash).
>
>  Am I missing something? What am I doing wrong?
>
>
>
>  --
>  Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>
>
>
>


Re: [Pharo-users] Windows installation broken?

2018-06-17 Thread Travis Ayres
I wonder how many people tried Pharo, thought "Oh this is totally broken"
and are never going to give it a second (or third) chance.

On Sun, Jun 17, 2018 at 11:26 AM, p...@highoctane.be 
wrote:

> The current website shows the wrong link, the installer for the bleeding
> edge is the wrong one in files.
> The situation on the Windows front is very very bad and not really
> improving.
>
> That being said, the installer on the CI is the right one and works.
>
> so, steal the installer from here: https://ci.inria.fr/pharo-ci-
> jenkins2/job/PharoLauncher
>
> This is the one you want:
>
> https://ci.inria.fr/pharo-ci-jenkins2/job/PharoLauncher/
>
> For having the latest lastet everything, go to the launcher settings, get
> into the devmode and open monticello and load the latest packages.
>
> Phil
>
>
>
> On Sun, Jun 17, 2018 at 7:17 PM Petr Fischer  wrote:
>
>> I have a challenge for you: try to uninstall it :)
>>
>> Look at this thread for Win10 workarounds:
>> https://twitter.com/smalltalkdev/status/978973863332798464
>>
>> If you do not like workarounds, stay with standalone downloads (or
>> zeroconf for Linux).
>>
>> pf
>>
>> > Someone told me that they had difficulties installing Pharo under
>> Windows. So
>> > I had to see for myself.
>> >
>> > I booted my Mac mini into Windows 7 Ultimate (using Boot Camp),
>> downloaded
>> > and installed Pharo Launcher.
>> >
>> > That person was indeed correct. The Windows version of Pharo is badly
>> > broken. I created images for Pharo 5.0, 6.1, and 7.0, and all three
>> refused
>> > to open (presumably, they just crash).
>> >
>> > Am I missing something? What am I doing wrong?
>> >
>> >
>> >
>> > --
>> > Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>> >
>>
>>
>>


Re: [Pharo-users] Windows installation broken?

2018-06-17 Thread p...@highoctane.be
The current website shows the wrong link, the installer for the bleeding
edge is the wrong one in files.
The situation on the Windows front is very very bad and not really
improving.

That being said, the installer on the CI is the right one and works.

so, steal the installer from here:
https://ci.inria.fr/pharo-ci-jenkins2/job/PharoLauncher

This is the one you want:

https://ci.inria.fr/pharo-ci-jenkins2/job/PharoLauncher/

For having the latest lastet everything, go to the launcher settings, get
into the devmode and open monticello and load the latest packages.

Phil



On Sun, Jun 17, 2018 at 7:17 PM Petr Fischer  wrote:

> I have a challenge for you: try to uninstall it :)
>
> Look at this thread for Win10 workarounds:
> https://twitter.com/smalltalkdev/status/978973863332798464
>
> If you do not like workarounds, stay with standalone downloads (or
> zeroconf for Linux).
>
> pf
>
> > Someone told me that they had difficulties installing Pharo under
> Windows. So
> > I had to see for myself.
> >
> > I booted my Mac mini into Windows 7 Ultimate (using Boot Camp),
> downloaded
> > and installed Pharo Launcher.
> >
> > That person was indeed correct. The Windows version of Pharo is badly
> > broken. I created images for Pharo 5.0, 6.1, and 7.0, and all three
> refused
> > to open (presumably, they just crash).
> >
> > Am I missing something? What am I doing wrong?
> >
> >
> >
> > --
> > Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
> >
>
>
>


Re: [Pharo-users] Windows installation broken?

2018-06-17 Thread Petr Fischer
I have a challenge for you: try to uninstall it :)

Look at this thread for Win10 workarounds:
https://twitter.com/smalltalkdev/status/978973863332798464

If you do not like workarounds, stay with standalone downloads (or zeroconf for 
Linux).

pf

> Someone told me that they had difficulties installing Pharo under Windows. So
> I had to see for myself.
> 
> I booted my Mac mini into Windows 7 Ultimate (using Boot Camp), downloaded
> and installed Pharo Launcher.
> 
> That person was indeed correct. The Windows version of Pharo is badly
> broken. I created images for Pharo 5.0, 6.1, and 7.0, and all three refused
> to open (presumably, they just crash).
> 
> Am I missing something? What am I doing wrong?
> 
> 
> 
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
> 



Re: [Pharo-users] Windows installation broken?

2018-06-17 Thread PBKResearch
Tried ‘Run as administrator’ – same result. Also tried to uninstall launcher, 
both by double-clicking ‘uninstall.exe’ and via Windows settings menu. Nothing 
happens. It really is broken.

 

Peter Kenny

 

From: Richard Sargent  
Sent: 17 June 2018 17:42
To: Any question about pharo is welcome ; 
PBKResearch ; 'Any question about pharo is welcome' 

Subject: Re: [Pharo-users] Windows installation broken?

 

Try running the launcher as administrator.
It may not help, but I recall this was a problem not long ago.

On June 17, 2018 9:08:50 AM PDT, PBKResearch mailto:pe...@pbkresearch.co.uk> > wrote:

I tried downloading the standalone version of Pharo 6.1 in a fresh folder, and 
everything seems fine.

I then tried the Pharo Launcher, which I have never used before. I installed 
the template for Pharo 6.1 (stable) and tried to launch it. The launcher window 
closed, and nothing happened. The Task Manager confirms that it is not running 
invisibly in the background. So for me the launcher is not working, though the 
standalone version is fine.

I am using Windows 10 with all recent updates, on a 4GB machine with Intel Core 
i3 processor.

Hope this helps

Peter Kenny

-Original Message-
From: Pharo-users mailto:pharo-users-boun...@lists.pharo.org> > On Behalf Of Hernán Morales 
Durand
Sent: 17 June 2018 05:50
To: Any question about pharo is welcome mailto:pharo-users@lists.pharo.org> >
Subject: Re: [Pharo-users] Windows installation broken?

It is broken. I always use the ZeroConf CLI through wget or curl.

Cheers,

Hernan
El dom., 17 jun. 2018 a las 0:40, horrido
(mailto:horrido.hobb...@gmail.com> >) escribió:


 Someone told me that they had difficulties installing Pharo under 
 Windows. So I had to see for myself.

 I booted my Mac mini into Windows 7 Ultimate (using Boot Camp), 
 downloaded and installed Pharo Launcher.

 That person was indeed correct. The Windows version of Pharo is badly 
 broken. I created images for Pharo 5.0, 6.1, and 7.0, and all three 
 refused to open (presumably, they just crash).

 Am I missing something? What am I doing wrong?



 --
 Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html







Re: [Pharo-users] Windows installation broken?

2018-06-17 Thread Richard Sargent
Try running the launcher as administrator.
It may not help, but I recall this was a problem not long ago.

On June 17, 2018 9:08:50 AM PDT, PBKResearch  wrote:
>I tried downloading the standalone version of Pharo 6.1 in a fresh
>folder, and everything seems fine.
>
>I then tried the Pharo Launcher, which I have never used before. I
>installed the template for Pharo 6.1 (stable) and tried to launch it.
>The launcher window closed, and nothing happened. The Task Manager
>confirms that it is not running invisibly in the background. So for me
>the launcher is not working, though the standalone version is fine.
>
>I am using Windows 10 with all recent updates, on a 4GB machine with
>Intel Core i3 processor.
>
>Hope this helps
>
>Peter Kenny
>
>-Original Message-
>From: Pharo-users  On Behalf Of
>Hernán Morales Durand
>Sent: 17 June 2018 05:50
>To: Any question about pharo is welcome 
>Subject: Re: [Pharo-users] Windows installation broken?
>
>It is broken. I always use the ZeroConf CLI through wget or curl.
>
>Cheers,
>
>Hernan
>El dom., 17 jun. 2018 a las 0:40, horrido
>() escribió:
>>
>> Someone told me that they had difficulties installing Pharo under 
>> Windows. So I had to see for myself.
>>
>> I booted my Mac mini into Windows 7 Ultimate (using Boot Camp), 
>> downloaded and installed Pharo Launcher.
>>
>> That person was indeed correct. The Windows version of Pharo is badly
>
>> broken. I created images for Pharo 5.0, 6.1, and 7.0, and all three 
>> refused to open (presumably, they just crash).
>>
>> Am I missing something? What am I doing wrong?
>>
>>
>>
>> --
>> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>>


Re: [Pharo-users] Windows installation broken?

2018-06-17 Thread PBKResearch
I tried downloading the standalone version of Pharo 6.1 in a fresh folder, and 
everything seems fine.

I then tried the Pharo Launcher, which I have never used before. I installed 
the template for Pharo 6.1 (stable) and tried to launch it. The launcher window 
closed, and nothing happened. The Task Manager confirms that it is not running 
invisibly in the background. So for me the launcher is not working, though the 
standalone version is fine.

I am using Windows 10 with all recent updates, on a 4GB machine with Intel Core 
i3 processor.

Hope this helps

Peter Kenny

-Original Message-
From: Pharo-users  On Behalf Of Hernán 
Morales Durand
Sent: 17 June 2018 05:50
To: Any question about pharo is welcome 
Subject: Re: [Pharo-users] Windows installation broken?

It is broken. I always use the ZeroConf CLI through wget or curl.

Cheers,

Hernan
El dom., 17 jun. 2018 a las 0:40, horrido
() escribió:
>
> Someone told me that they had difficulties installing Pharo under 
> Windows. So I had to see for myself.
>
> I booted my Mac mini into Windows 7 Ultimate (using Boot Camp), 
> downloaded and installed Pharo Launcher.
>
> That person was indeed correct. The Windows version of Pharo is badly 
> broken. I created images for Pharo 5.0, 6.1, and 7.0, and all three 
> refused to open (presumably, they just crash).
>
> Am I missing something? What am I doing wrong?
>
>
>
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>




Re: [Pharo-users] [ann] gt documenter

2018-06-17 Thread Denis Kudriashov
Hi Tudor.

This is super impressive.
What's next? Do you plan to implement IDE for writing documents,
navigation, refactorings? (senders, renames should find all places in
documents)

2018-06-13 21:57 GMT+01:00 Tudor Girba :

> Hi,
>
> We are happy to announce a new leap of GToolkit Documenter, the tool for
> manipulating live documents directly in the development environment:
> https://github.com/feenkcom/gtoolkit-documenter
>
> Documenter is part of the second generation GToolkit project, it is based
> on Bloc and works with the latest Pillar. It is mainly developed by Juraj
> Kubelka.
>
> Attached you can see a preview of how documents look like:
>
>
>
> At its core it offers a live editor for manipulating Pillar documents. The
> interaction happens seamlessly directly in the text editor, and it can be
> combined with different types of previews to serve several classes of use
> cases:
> • code documentation
> • tutorials
> • interactive data notebook
>
>
> Code documentation
> 
> Documenter complements the GToolkit Examples engine to redefine
> code documentation. When practicing example-driven development, examples
> get written as part of the typical development. Once examples exist, they
> can be quickly put together in a document to form documentation. For
> example, the linked picture shows the comment of a class containing a
> visual explanation:
> https://twitter.com/feenkcom/status/973899862482866176
>
> You can see a live example of documentation by inspecting the following
> snippet:
> GtDocumenter editorForText: BrToggleExamples comment.
>
>
> Tutorials:
> 
> Documenter offers a new experience of writing tutorials for Pharo by
> enabling the creation and embedding of Epicea change sessions directly in
> the document. For example, take a look at the following animation:
> https://twitter.com/feenkcom/status/75333972541440
>
> The document shows a method on top, and a change preview at the
> bottom showing both the code and the associated diff to the state from the
> image. Applying the change updates both the change view (no more diff), and
> method preview. This speeds up significantly the process of going through a
> tutorial. Furthermore, given that now the document shows the diff to the
> current image, the reader can safely explore alternative scenario and come
> back to the tutorial at any time without losing the overview.
>
> The size of the preview can also be adjusted live:
> https://twitter.com/feenkcom/status/1001152789874167808
> https://twitter.com/feenkcom/status/1001407762285375490
>
> You can see a live tutorial by inspecting:
> IceRepository repositoriesLocation / 'feenkcom'/ 'gtoolkit-examples' /
> 'doc' / 'tutorial' / 'examples-tutorial.pillar’.
>
>
> Interactive data notebook:
> 
> A Documenter document can also be used as an interactive notebook.
> Internally it essentially acts as a playground:
> • it supports defining variables in code snippets, and
> • the execution of code shows an embedded inspector.
>
> For example:
> https://twitter.com/feenkcom/status/996310432225820672
> https://twitter.com/feenkcom/status/1002851190475026432
>
> An example, can be seen by inspecting:
> IceRepository repositoriesLocation / 'feenkcom'/ 'gtoolkit' / 'doc' /
> 'gtoolkit' / 'gtoolkit.pillar'.
>
>
> As always, please do let us know what you think.
>
> Enjoy,
> The feenk team
>
>
> --
> www.tudorgirba.com
> www.feenk.com
>
> "If you can't say why something is relevant,
> it probably isn't."
>
>


Re: [Pharo-users] NeoJSON extension - easier list handling with NeoJSONPropertyMapping

2018-06-17 Thread Ben Coman
On 17 June 2018 at 02:47, Sven Van Caekenberghe  wrote:

> Hmm, Ben,
>
> Did you see NeoJSONCustomMapping's mapping method category ?


> There you can already find #listOfElementSchema:   #listOfType:

#listOfType:andElementSchema: as well as #mapWithValueSchema:
>

Yes. Indeed thats where I copied my selector naming from, although I
switched "with" for ''and"
NeoJSONPropertyMapping >> listOfType:withElementSchema:

However NeoJSONCustomMappings seems only accessible through "reader for:
... customDo: "
while instance variable interaction seems only possible using "reader for:
... do:"
So it seems NeoJSONCustomMapping lacks #mapAccessor* methods
while NeoJSONObjectMapping lacks #listOfType:* methods
and "never the twain shall meet".

I didn't look closely at #mapWithValueSchema:
but its covering tests seem to operate on Dictionaries rather than Arrays.



> I am guessing they do what you want, no ? Or am I missing something as
> well ?
>

Yes, but how to mix those list* methods with poking the result into an
instance variable
to be able to "assign a list of elements to an instance variable" as a one
liner?
I'd be glad to be shown another way to do this for the given data.

I see a few #testLists examples, but none that assign the result to an
instance variable.
NeoJSONExamplesTests has some "lists of objects" tests, but no "objects
with lists"
A useful example would be #testPolygonPoints...

NeoJSONExamplesTests >> testPolygonPoints
| polygon polygonJson result |
polygon := Polygon new vertices: { 1@2. 3@4. 5@6 }.
polygonJson :=
'{ "vertices": ["I'm not clear on how to do the writer side of things"
{
"x" : 1,
"y" : 2
},
{
"x" : 3,
"y" : 4
},
{
"x" : 5,
"y" : 6
}]
}'.
result := (NeoJSONReader on: polygonJson readStream)
mapInstVarsFor: Point;
for: Polygon do: [ :mapping |
(mapping mapInstVar: #vertices) listOfType: Array withElementSchema: Point];
nextAs: Polygon.
self assert: result equals: polygon


Some equality support is needed for Polygon (PathShape)
(my best guess, discussion of this might be worth a separate thread)

PathShape >> = aPathShape
|otherVertices equal|
otherVertices := aPathShape vertices.
(self species = aPathShape species) & (vertices size = otherVertices size)
ifFalse: [ ^false ].
1 to: vertices size do: [ :i |
(vertices at: i) = (otherVertices at: i) ifFalse: [^false] ].
^true

PathShape >> hash
|hash|
hash := 0.
1 to: vertices size do: [ :i | hash bitXor: (vertices at: i) ].
^hash

cheers -ben


>
> Sven
>
> > On 16 Jun 2018, at 20:27, Ben Coman  wrote:
> >
> > hi Sven,
> >
> > With NeoJSON I have found several times in handling lists that
> > I need to indirect through  #for:customDo:  like this..
> >
> >   reader
> >   for: ExercismProblems
> >   do: [ :mapping |
> >   self halt.
> >   (mapper mapInstVar: #problems) valueSchema:
> #ArrayOfProblems ].
> >   reader
> >   for: #ArrayOfProblems
> >   customDo: [  :mapping |
> >   mapper listOfElementSchema: ExercismProblem ].
> >
> >
> > when I'd really like to be simpler and more concise like this...
> >
> >   reader
> >   for: ExercismProblems
> >   do: [ :mapping |
> >   (mapping mapInstVar: #problems) listOfType: Array
> withElementSchema: ExercismProblem ].
> >
> > so I'm seeking your feedback on the following hack which facilitates
> that.
> > (and if I missed something that already makes it simpler)
> >
>

cheers -ben