Commit 221b66f3 authored by Michael Hanus 's avatar Michael Hanus

Code refactoring and bug fix for behavior testing of operator names

parent ec6ae1ef
......@@ -425,8 +425,10 @@ of pre-release versions.
\item[\fbox{\code{install $package$ $version$}}] Installs a specific version of
a package to the global package cache.
\item[\fbox{\code{install $package$.zip}}] Installs a package from a ZIP file to
the global package cache.
\item[\fbox{\code{install $package$.zip}}] Installs a package from a ZIP file
to the global package cache. The ZIP file must contain at least the
package description file \code{package.json} and the directory \code{src}
containing the Curry source files.
\item[\fbox{\code{uninstall $package$ $version$}}] Uninstalls a specific version
of a package from the global package cache.
......
This diff is collapsed.
......@@ -156,7 +156,7 @@ loadPackageSpec dir = do
case readPackageSpec contents of
Left err -> failIO err
Right v -> succeedIO v
else failIO "File does not exists"
else failIO $ "Illegal package: file `package.json' does not exist!"
where packageFile = dir </> "package.json"
--- Checks whether two package ids are equal, i.e. if their names and versions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment