Skip to content

docs: add pure functions guide to AirScript mdBook#559

Open
mikhailivich wants to merge 4 commits into
0xMiden:nextfrom
mikhailivich:patch-1
Open

docs: add pure functions guide to AirScript mdBook#559
mikhailivich wants to merge 4 commits into
0xMiden:nextfrom
mikhailivich:patch-1

Conversation

@mikhailivich
Copy link
Copy Markdown

Current behavior

The AirScript mdBook currently has little documentation on how to define and use pure functions.

In particular:

  • there is no dedicated page explaining fn syntax and usage
  • the language description navigation does not include pure functions
  • the keywords page does not document fn or return

New behavior

This change adds a dedicated pure functions page to the mdBook and links it from the existing language description navigation.

It also updates the keywords page to document:

  • fn
  • return

Breaking changes

None.

Other info

Documentation-only update.
Closes #436.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document usage of pure functions

1 participant