Closed Arrow7000 closed 2 months ago
Kind does not have a prelude as the other languages like Haskell or Rust. So we recommend you to clone the Wikind repository that contains a lot of the common definitions that you would use and code inside it by now (as we don't have a build system :/)
Ah gotcha. Do I need to copy and paste or import the code from the other files, or is it sufficient that my code is in the same directory as the other files?
You just have to code in the same directory.
I'm trying to run the code samples from the readme but can't because apparently Kind can't find the definitions of the
List
type andCons
andNil
constructors.My code
But when I try to run it with
kind2 run file.kind2
it gives me compile errorsThere is also no content in the file at the URL it suggests https://github.com/Kindelia/Kind2/blob/master/guide/naming.md