4 ms·
Is the Go example even valid? I've never seen that (arr: [[]]int) syntax.
by ezekg 3y ago
Is the Go example even valid? I've never seen that (arr: [[]]int) syntax.
- dharmab 3y agoNeither is the Python example
- ezekg 3y agoWell, that's kind of embarrassing... the JS example is also all sorts of messed up.
- esafak 3y agoWe need LLMs to respect the grammar of the language they are generating in.
- ShamelessC 3y agoThey do this naturally when they aren’t bad.
- deleted 3y ago[deleted]