Hello! The language tour is lovely :). Possibly a small thing, one pattern I was not made familiar with trough the tour was this:
type Name(val) { Name(val) }
Might be nice to have it in there for completeness (assuming it was not on purpose). It would also explain the Result module part with Ok(1)Error(1) a lot more.
And .. now that I go over it, I notice functions must start with a lowercase and types with an uppercase, how lovely! I also didn't read about that, might also be nice to be explicit about aswel :) (assuming I didn't miss it in the text).
Hello! The language tour is lovely :). Possibly a small thing, one pattern I was not made familiar with trough the tour was this:
type Name(val) { Name(val) }
Might be nice to have it in there for completeness (assuming it was not on purpose). It would also explain the Result module part with
Ok(1)
Error(1)
a lot more. And .. now that I go over it, I notice functions must start with a lowercase and types with an uppercase, how lovely! I also didn't read about that, might also be nice to be explicit about aswel :) (assuming I didn't miss it in the text).