Fix bug in example for in-indexed

This commit is contained in:
Jack Firth 2020-12-07 23:10:03 -08:00 committed by Matthew Flatt
parent 5986bc9250
commit 9b6f02238b

View File

@ -607,7 +607,7 @@ each element in the sequence.
@(examples
#:eval sequence-evaluator
(for ([(i ch) (in-indexed "hello")])
(for ([(ch i) (in-indexed "hello")])
(printf "The char at position ~a is: ~a\n" i ch)))
}