Oops, I need to define maze from the other task (referred to in the
task description). I typicall update the text of the entry to make
that sort of dependency clear when I'm writing one of those things.

That said, it still doesn't work, when I also include the definition
of maze and display from the other task, or when I only include the
definition of maze from the other task and display from this one.

   4 (display~ solve)@maze 9
|value error: path

Maybe I should look at this more closely, but for now I'll simply note
that this is confusing. (And I am also a bit uncomfortable about the
re-definition of the name 'display' in this context. That kind of
ambiguity is just asking for trouble. Perhaps 'show' instead, for the
version here? Or are they intended to be workalikes? Normally, I'd
just see what the code does but since it doesn't work I feel that
asking is appropriate.)

Thanks,

-- 
Raul


On Sat, Oct 4, 2014 at 3:16 PM, Raul Miller <[email protected]> wrote:
> On Sat, Oct 4, 2014 at 10:56 AM, David Lambert <[email protected]> wrote:
>> http://rosettacode.org/wiki/Maze_solving#J
>
> That doesn't work.
>
>    4 (display~ solve)@maze 9
> |value error: maze
>
> Can you fix it?
>
> Thanks,
>
> --
> Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to