Appendix F.
Atom commands used for the interactive construction of Idris projects featured in this book are detailed below.
Shortcut |
Command |
Description |
---|---|---|
Ctrl-Alt-A | Add definition | Adds a skeleton definition for the name under the cursor |
Ctrl-Alt-C | Case split | Splits a definition into pattern-matching clauses for the name under the cursor |
Ctrl-Alt-D | Documentation | Displays documentation for the name under the cursor |
Ctrl-Alt-L | Lift hole | Lifts a hole to the top level as a new function declaration |
Ctrl-Alt-M | Match | Replaces a hole with a case expression that matches on an intermediate result |
Ctrl-Alt-R | Reload | Reloads and type-checks the current buffer |
Ctrl-Alt-S | Search | Searches for an expression that satisfies the type of the hole name under the cursor |
Ctrl-Alt-T | Type-check name | Displays the type of the name under the cursor |
Ctrl-Alt-W | with block insertion | Adds a with block after the current line, containing a new pattern-matching clause with an extra argument |