Skip to content

Commit ad4ffc9

Browse files
committed
fixed
1 parent 3ea7eb2 commit ad4ffc9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

KIND2_GUIDE_AI.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Where:
5656

5757
### Top-Level Datatype
5858

59-
Alternatively, a .kind2 type can also define an inductive datatype:
59+
Alternatively, a .kind2 tile can also define an inductive datatype:
6060

6161
```
6262
data Name <p0: P0> <p1: P1> ... (i0: I0) (i1: I1) ...
@@ -168,6 +168,7 @@ There are two ways to call these functions.
168168

169169
```
170170
(swap _ _ (Pair/new _ _ Nat/zero (List/nil _)))
171+
```
171172

172173
As you can see, using metavars is much more concise. As a rule of thumb, always
173174
use metavars on the function body, but write it fully on its arglist. Remember

kindcoder.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,7 @@ async function main() {
433433

434434
// Call the AI model
435435
let aiOutput = await ask(aiInput, { system: system_KindCoder, model });
436+
console.log("");
436437

437438
// Extract the result from AI output
438439
let resultMatch = aiOutput.match(/<RESULT>([\s\S]*)<\/RESULT>/);

0 commit comments

Comments
 (0)