Claude Barde
Oct 14, 2021

The type you specify for NIL is the type you want for the list. If you want an empty list for int values, you can use NIL int. If you want an empty list for operations (like you have to return at the end of the contract execution), you use NIL operation.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Claude Barde
Claude Barde

Written by Claude Barde

Self-taught developer interested in web3, smart contracts and functional programming

Responses (1)

Write a response