The List is returned unchanged.
(objectToList '(4 6 5))
|
Returns: #<Pair 123456>
|
(display #<Pair 123456> )
|
Returns: (1 2 3 4)
|
A Structure is converted into a List.
(objectToList #{A: (+ 3 4) B: 5})
|
Returns: #<Pair 234567>
|
(display #<Pair 234567> )
|
Returns: (A (+ 3 4) B 5)
|
A Vector is converted into a List
(objectToList #("This" "is" "a" "Vector"))
|
Returns: #<Pair 34567>
|
(display #<Pair 345678> )
|
Returns: ("This" "is" "a" "Vector")
|
A Dictionary is converted into a List
(objectToList #{dic| a: first b: second}) |
Returns: #<Pair 456789>
|
(display #<Pair 456789> ) |
Returns: (#{dic|| a first b second})
|
A String is converted into a List
(objectToList "Hello There") |
Returns: #<Pair 567890>
|
(display #<Pair 567890> ) |
Returns: ("Hello There")
|
An Integer is converted into a List
(objectToList 22) |
Returns: #<Pair 678901>
|
(display #<Pair 678901> ) |
Returns: (22)
|