Login  Register

Re: how to model this a better way

Posted by Andres Valloud-4 on Apr 19, 2019; 6:41am
URL: https://forum.world.st/how-to-model-this-a-better-way-tp5098396p5098428.html

I can't escape the feeling that this answer is leaving a lot on the
table because the question is asked from a narrow perspective.

On 4/18/19 10:01 , Roelof Wobben wrote:

> because the challenge wants this to be the answer :
>
> (Dictionary new
>                 add: 'direction' -> 'north';
>                 add:
>                     'position'
>                         ->
>                             (Dictionary new
>                                 add: 'x' -> 0;
>                                 add: 'y' -> 0;
>                                 yourself);
>                 yourself)