Racket list:3.18.1 Iteration and Comprehension Forms
3.18.1 Iteration and Comprehension Forms
3.18IterationsandComprehensions:for,for/list,......IterationsandComprehensionsinTheRacketGuideintroducesiterationsandcomprehensions.Thefor ...。其他文章還包含有:「1.5Lists」、「11IterationsandComprehensions」、「2.3Lists」、「2.4Pairs」、「3.6Lists」、「4.10PairsandLists」、「4.11MutablePairsandLists」、「4.3Lists」、「Lists」
查看更多 離開網站1.5 Lists
https://docs.racket-lang.org
As you can see, the type of a list is written with Listof and then the type of the elements of the list. You also see that the result is printed using '.
11 Iterations and Comprehensions
https://docs.racket-lang.org
Lists, vectors, strings, byte strings, input ports, and hash tables can all be used as sequences, and constructors like in-range offer even more kinds of ...
2.3 Lists
https://docs.racket-lang.org
Racket provides a general list comprehension form for/list, which builds a list by iterating through sequences. List comprehensions and related iteration forms ...
2.4 Pairs
https://docs.racket-lang.org
2.4.3 Lists and Racket Syntax · a reader layer, which turns a sequence of characters into lists, symbols, and other constants; and · an expander layer, which ...
3.6 Lists
https://docs.racket-lang.org
Generates a list of numbers, incrementing from start to finish by n. If no n is provided, defaults to 1. Note that, unlike BASIC's for x = y to z, ...
4.10 Pairs and Lists
https://docs.racket-lang.org
Creates a list of n elements by applying proc to the integers from 0 to (sub1 n) in order. If lst is the resulting list, then (list-ref lst i) is the value ...
4.11 Mutable Pairs and Lists
https://docs.racket-lang.org
A mutable list can be used as a single-valued sequence (see Sequences). The elements of the mutable list serve as elements of the sequence. See also in-mlist.
4.3 Lists
https://docs.racket-lang.org
The rebellion/collection/list library is a small wrapper module designed to provide a more modern and conventional interface to standard Racket lists.
Lists
https://beautifulracket.com
The list is the fundamental data structure of Racket. A list is a sequence of values. A list can contain any kind of value, including other lists.