File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 56
56
57
57
### Top-Level Datatype
58
58
59
- Alternatively, a .kind2 type can also define an inductive datatype:
59
+ Alternatively, a .kind2 tile can also define an inductive datatype:
60
60
61
61
```
62
62
data Name <p0: P0> <p1: P1> ... (i0: I0) (i1: I1) ...
@@ -168,6 +168,7 @@ There are two ways to call these functions.
168
168
169
169
```
170
170
(swap _ _ (Pair/new _ _ Nat/zero (List/nil _)))
171
+ ```
171
172
172
173
As you can see, using metavars is much more concise. As a rule of thumb, always
173
174
use metavars on the function body, but write it fully on its arglist. Remember
Original file line number Diff line number Diff line change @@ -433,6 +433,7 @@ async function main() {
433
433
434
434
// Call the AI model
435
435
let aiOutput = await ask ( aiInput , { system : system_KindCoder , model } ) ;
436
+ console . log ( "" ) ;
436
437
437
438
// Extract the result from AI output
438
439
let resultMatch = aiOutput . match ( / < R E S U L T > ( [ \s \S ] * ) < \/ R E S U L T > / ) ;
You can’t perform that action at this time.
0 commit comments