On 08/04/2013 07:16 AM, Bruce & Breeanna Rennie wrote:
> Good evening Steve,
>
> i have just been looking at your maze solving solution on Rosetta Code.
> I have loaded it into my environment but get the following error.
>
>
> unicon -u "mazesolver2.icn" (in directory:
> /home/bruce/unicon/src/rosetta code)
> Parsing mazesolver2.icn: .
> mazesolver2.icn:5: # "procedure" Unable to import (1) package "Utils"
> 1 error
> Compilation failed.
>
>
> It cannot find the Utils package. Is this located in the standard Unicon
> release from svn, or do I need to add it from somewhere else?

Hi Bruce,

The Utils package is/was part of the "UniLib" collection that I used to
provide on a TWiki.  However, because of (outside) abuse of the TWiki,
I've closed it down.  UniLib is available as a gzipped tar file
from the main Unicon side via the "Interesting Links" link.

It can also be gotten directly via:

    http://www2.cs.uidaho.edu/~jeffery/unicon/unilib.tar.gz

but may take some massaging.

The only use of the Utils package is in the argument handling (specifically
the Args class).  It's probably easier to just roll your own argument handler.

(Not that it's relevant to the use here, but the change in implementation of
co-expressions to support threading has broken a few things in UniLib.  The
version in the tar file predates that change and so some code may not work
without changes.  I've fixed the ones that I've come across in my own use,
but will happily fix others should anyone stumble on them...)

-Steve

-- 
Steve Wampler -- swamp...@noao.edu
The gods that smiled on your birth are now laughing out loud.

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to