Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PackageDescription.Basic module Package variant #2509

Merged
merged 3 commits into from
Nov 13, 2023
Merged

Conversation

paulcadman
Copy link
Collaborator

@paulcadman paulcadman commented Nov 9, 2023

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:

@paulcadman paulcadman self-assigned this Nov 9, 2023
@paulcadman paulcadman marked this pull request as ready for review November 10, 2023 09:17
@paulcadman paulcadman added this to the 0.5.4 milestone Nov 10, 2023
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.
@paulcadman paulcadman merged commit 7b52116 into main Nov 13, 2023
4 checks passed
@paulcadman paulcadman deleted the basic-package branch November 13, 2023 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a basic Package type that does not depend on the standard library
2 participants