1
1
mirror of https://github.com/anoma/juvix.git synced 2024-10-26 17:52:17 +03:00
juvix/tests/negative/ImportCycle
Paul Cadman 7b5211664e
Add PackageDescription.Basic module Package variant (#2509)
This PR adds the `PackageDescription.Basic` module, available to
Package.juvix files.

```
module Package;

import PackageDescription.Basic open;

package : Package := basicPackage;
```

The `PackageDescription.Basic` module provides a Package type that is
translated to a Juvix Package with all default arguments. It is not
possible to customize a basic package.

A basic package does not depend on the standard library, so loads much
more quickly.

Additionally this PR:
* Adds `juvix init --basic/-b` option to generate a basic Package.juvix.
* Migrates Package.juvix files that only use default arguments, or only
customise the name field, to basic Package files.

* Closes https://github.com/anoma/juvix/issues/2508
2023-11-13 17:36:18 +00:00
..
A.juvix Rename MiniJuvix to Juvix (#259) 2022-07-08 13:59:45 +02:00
B.juvix Rename MiniJuvix to Juvix (#259) 2022-07-08 13:59:45 +02:00
C.juvix Rename MiniJuvix to Juvix (#259) 2022-07-08 13:59:45 +02:00
D.juvix Rename MiniJuvix to Juvix (#259) 2022-07-08 13:59:45 +02:00
Package.juvix Add PackageDescription.Basic module Package variant (#2509) 2023-11-13 17:36:18 +00:00