mirror of
https://github.com/roc-lang/roc.git
synced 2025-11-02 05:48:17 +00:00
Delete TUTORIAL.md in favor of HTML version
This commit is contained in:
parent
243a33fbd9
commit
4276345c7a
5 changed files with 4 additions and 2146 deletions
|
|
@ -3,7 +3,7 @@
|
|||
Roc is not ready for a 0.1 release yet, but we do have:
|
||||
|
||||
- [**installation** guide](https://github.com/roc-lang/roc/tree/main/getting_started)
|
||||
- [**tutorial**](https://github.com/roc-lang/roc/blob/main/TUTORIAL.md)
|
||||
- [**tutorial**](https://roc-lang.org/tutorial)
|
||||
- [**docs** for the standard library](https://www.roc-lang.org/builtins/Str)
|
||||
- [frequently asked questions](https://github.com/roc-lang/roc/blob/main/FAQ.md)
|
||||
- [Zulip chat](https://roc.zulipchat.com) for help, questions and discussions
|
||||
|
|
|
|||
2142
TUTORIAL.md
2142
TUTORIAL.md
File diff suppressed because it is too large
Load diff
|
|
@ -4,7 +4,7 @@ Roc is a language for making delightful software. It does not have an 0.1 releas
|
|||
certainly don't recommend using it in production in its current state! However, it can be fun to
|
||||
play around with as long as you have a high tolerance for missing features and compiler bugs. :)
|
||||
|
||||
The [tutorial](../TUTORIAL.md) is the best place to learn about how to use the language - it assumes no prior knowledge of Roc or similar languages. (If you already know [Elm](https://elm-lang.org/), then [Roc for Elm Programmers](https://github.com/roc-lang/roc/blob/main/roc-for-elm-programmers.md) may be of interest.)
|
||||
The [tutorial](https://roc-lang.org/tutorial) is the best place to learn about how to use the language - it assumes no prior knowledge of Roc or similar languages. (If you already know [Elm](https://elm-lang.org/), then [Roc for Elm Programmers](https://github.com/roc-lang/roc/blob/main/roc-for-elm-programmers.md) may be of interest.)
|
||||
|
||||
There's also a folder of [examples](https://github.com/roc-lang/roc/tree/main/examples) - the [CLI form example](https://github.com/roc-lang/roc/tree/main/examples/cli/form.roc) in particular is a reasonable starting point to build on.
|
||||
|
||||
|
|
|
|||
|
|
@ -1249,7 +1249,7 @@ If you put these into a hypothetical Roc REPL, here's what you'd see:
|
|||
- `comparable` is used in Elm for comparison operators (like `<` and such), plus `List.sort`, `Dict`, and `Set`. Roc's comparison operators (like `<`) only accept numbers; `"foo" < "bar"` is valid Elm, but will not compile in Roc. Roc's dictionaries and sets are hashmaps behind the scenes (rather than ordered trees), so their keys need to be hashable but not necessarily comparable.
|
||||
|
||||
That said, Roc's `Dict` and `Set` do have a restriction on their keys, just not `comparable`.
|
||||
See the section on Abilities in [the tutorial](TUTORIAL.md) for details.
|
||||
See the section on Abilities in [the tutorial](https://roc-lang.org/tutorial) for details.
|
||||
|
||||
## Standard library
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
<p>With all that context in mind, if you'd like to try it out or to get involved with contributing,
|
||||
the <a href="https://github.com/roc-lang/roc">source code repository</a> has
|
||||
<a href="https://github.com/roc-lang/roc/releases">nightly builds</a> you can download,
|
||||
and a <a href="https://github.com/roc-lang/roc/blob/main/TUTORIAL.md">tutorial</a>.</p>
|
||||
and a <a href="https://roc-lang.org/tutorial">tutorial</a>.</p>
|
||||
|
||||
<p>If you'd like to learn more about Roc, you can continue reading here, or check out one of these videos:</p>
|
||||
<ul>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue