Lean 4 (Meta)programming Cookbook
Lean 4 (Meta)programming Cookbook
Table of Contents
What is Metaprogramming?
Syntax and Macros
Working with Expressions
Elaboration for Syntax
Tactics
File System
Data Structures
I/O and Processes
Maintaining state
Index
How to build a Recipe
Cookbook Contributors
File System
Reading from a file
Writing to a file
Creating directories
Listing Directory
Deleting a file or Directory
Running an external program
Handling JSONL File
Miscellaneous FileSystem Usages
Deleting a file or Directory
How to delete a file
How to delete a directory
←
Recursive directory traversal
How to delete a file
→
Deleting a file or Directory
🔗
Contributors:
Anirudh Gupta
How to delete a file
How to delete a directory
←
Recursive directory traversal
How to delete a file
→