Skip to content

Conversation

@jeshecdom
Copy link
Contributor

@jeshecdom jeshecdom commented Oct 17, 2025

Closes #298. There are 3 pending algorithm/recipes described in separate issue #1094.

@anton-trunov anton-trunov changed the title FunC cookbook page feat: FunC cookbook page Oct 27, 2025
@jeshecdom
Copy link
Contributor Author

jeshecdom commented Oct 31, 2025

I finalized a complete pass of the page. But, the following list of algorithms are still pending, because they were not easy to understand at first reading, and require much more time for analysis:

Needs to rework the example or add further code:

  • How to iterate through a lisp-style list

Understand the algorithm fully:

  • How to iterate a cell tree recursively
  • Casting types in tuples
  • Determine if tuples are equal

Puzzling and confusing algorithms that may require help:

  • How to update the smart contract logic (no idea what to do with the TypeScript snippets... how they are used?)
  • Modulo operations (completely confusing, no idea what the algorithm is talking about AT ALL)
  • Generate an external address (puzzled by this one... what is the purpose of an external address and why do they need to be generated?)

Apart from the above, there are a lot of missing links. I need to do a second pass for filling broken and missing links after importing changes from main.

Maybe I'll leave the "Puzzling and confusing algorithms" for a later PR and just concentrate on finally making this PR ready for review, because this page has been exhausting to fix.

"How to iterate a cell tree recursively",
"Casting types in tuples",
"Determine if tuples are equal"
@github-actions
Copy link

github-actions bot commented Nov 5, 2025

To fix the formatting issues:

  1. Install necessary dependencies: npm ci
  2. Then, run this command:
npx remark -o --silent --silently-ignore languages/func/cookbook.mdx 

@jeshecdom
Copy link
Contributor Author

The issue #1094 will be addressed in a separate PR, once I gather the information.

@jeshecdom jeshecdom marked this pull request as ready for review November 5, 2025 04:39
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the updates. I flagged several items in languages/func/cookbook.mdx; please apply the inline suggestions.

@github-actions
Copy link

github-actions bot commented Nov 5, 2025

To fix the formatting issues:

  1. Install necessary dependencies: npm ci
  2. Then, run this command:
npx remark -o --silent --silently-ignore languages/func/cookbook.mdx 

@anton-trunov anton-trunov merged commit 8ac693b into main Nov 7, 2025
5 checks passed
@anton-trunov anton-trunov deleted the jeshecdom/cookbook branch November 7, 2025 12:14
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.

[Language > FunC] Cookbook

3 participants