https://gitlab.com/tezos/tezos
Raw File
Tip revision: 66c0cc7187ff7e3f99f6223c22b8328e689a8dc7 authored by Mathias Bourgoin on 29 March 2024, 09:13:52 UTC
fixup! Proto/test/integration: update other tests (with smaller changes)
Tip revision: 66c0cc7
apply_01.tzt
code APPLY ;
input
  {
    Stack_elt string "Hi" ;
    Stack_elt (lambda (pair string int) nat) (Lambda_rec { DROP 2 ; PUSH nat 1 }) ;
  } ;
output
  {
    Stack_elt
      (lambda int nat)
      {
        PUSH string "Hi";
        PAIR;
        LAMBDA_REC (pair string int) nat { DROP 2 ; PUSH nat 1 };
        SWAP;
        EXEC
      }
  }
back to top