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

Adapt Anoma builtins to new Anoma Node API #2861

Merged
merged 7 commits into from
Jul 1, 2024
Merged

Conversation

paulcadman
Copy link
Collaborator

@paulcadman paulcadman commented Jun 26, 2024

This PR:

  1. Renames the anoma-verify builtin to anoma-verify-with-message and updates its type to:
builtin anoma-verify-with-message
axiom anomaVerifyWithMessage : {A : Type}
  -> Nat
  -> Nat
  -> Maybe A;
  1. Declares builtin Maybe for use in jvc files.
  2. Updates the implementation of anoma-verify in the Core evaluator and in the nockma backend to use the new type.

The new Anoma verify API is available in:

@paulcadman paulcadman added this to the 0.6.3 milestone Jun 26, 2024
@paulcadman paulcadman self-assigned this Jun 26, 2024
@paulcadman paulcadman force-pushed the adapt-anoma-builtins branch from 1e7e761 to f6188d5 Compare June 28, 2024 13:37
@paulcadman paulcadman marked this pull request as ready for review June 28, 2024 13:44
@paulcadman paulcadman force-pushed the adapt-anoma-builtins branch from f6188d5 to 1995db2 Compare June 28, 2024 16:52
@paulcadman paulcadman force-pushed the adapt-anoma-builtins branch from 3082b5a to 2551972 Compare July 1, 2024 16:58
@paulcadman paulcadman merged commit 93b76ce into main Jul 1, 2024
4 checks passed
@paulcadman paulcadman deleted the adapt-anoma-builtins branch July 1, 2024 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adapt builtins to have a clearer juvix-anoma-stdlib API
2 participants