8 lines
374 B
Plaintext
Raw Normal View History

parameter (list int);
storage (list int);
code { CAR; # Get the parameter
LAMBDA int int { PUSH int 1; ADD }; # Create a lambda that adds 1
MAP; # Map over the list
NIL operation; # No internal op
PAIR } # Match the calling convetion