Update some docs to not reference Nat

This commit is contained in:
Richard Feldman 2024-01-22 23:46:09 -05:00
parent d909cc5961
commit 70a1def63b
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B
3 changed files with 4 additions and 4 deletions

View file

@ -569,7 +569,7 @@ fn trmc_candidates_help(
// ```roc
// LinkedList a : [ Nil, Cons a (LinkedList a) ]
//
// repeat : a, Nat -> LinkedList a
// repeat : a, U64 -> LinkedList a
// repeat = \element, n ->
// when n is
// 0 -> Nil
@ -581,7 +581,7 @@ fn trmc_candidates_help(
// But there is a trick: TRMC. Using TRMC and join points, we are able to convert this function into a loop, which uses only one stack frame for the whole process.
//
// ```pseudo-roc
// repeat : a, Nat -> LinkedList a
// repeat : a, U64 -> LinkedList a
// repeat = \initialElement, initialN ->
// joinpoint trmc = \element, n, hole, head ->
// when n is