list(3scm)
πΈ NAME πΈ
okay so this is list(3scm) from the Scheme Programmer's Manual, and it's literally the βmake a list out of ur argumentsβ bestie. list β create a list from the arguments. π
π LIBRARY π
these are the import vibes, exact:
(import (rnrs)) ;R6RS
(import (rnrs base)) ;R6RS
(import (scheme r5rs)) ;R7RS
(import (scheme base)) ;R7RS
β¨ SYNOPSIS β¨
the whole synopsis is literally:
(list obj ...)
π DESCRIPTION π
it returns a newly allocated list of its arguments. brand-new list energy, no cap. π¦
π RETURN VALUES π
returns a single value; a list. that's the whole return, bestie. π
π₯ EXAMPLES π₯
(list 'a (+ 3 4) 'c) => (a 7 c)
(list) => ()
π COMPATIBILITY π
except for out of memory situations, this procedure works the same everywhere. so like, it's giving universal icon behavior. π
π ERRORS π
this procedure can raise exceptions with the following condition types:
&implementation-restriction(R6RS) β there is not enough free memory to hold the new pairs. (not all implementations raise this exception, the majority just crash. π)- R7RS β implementations may signal an error during out of memory conditions, or fail catastrophically. π
π SEE ALSO π
the bestie cross-refs are:
cons*(3scm)vector(3scm)
β STANDARDS β
R4RS, IEEE Scheme, R5RS, R6RS, R7RS. she's certified, periodt. π
π°οΈ HISTORY π°οΈ
the list function first appeared in LISP 1.5 (1962). old-school but still main character energy. π
π«Ά AUTHORS π«Ά
this page is part of the scheme-manpages project. it includes materials from the RnRS documents. more information can be found at https://github.com/schemedoc/manpages/. π
made with π from the 2023-03-26 drop of list(3scm) β catch u later, bestie π«Ά
π¦ where this page comes from
- nixpkgs unstable: scheme-manpages 0-unstable-2024-02-11
- π the page's license: MIT
- Copyright (c) 2023 Gwen Weinholt
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms