2 Old Functions
(apply proc v lst) → any |
proc : procedure? |
v : any/c |
lst : list? |
Like apply from scheme/base, but without support for keyword arguments.
| ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
|
Like open-input-file, etc. from scheme/base, but mode and exists arguments are not keyword arguments. When both mode and exists are accepted, they are accepted in either order.
| |||||||||||||||||||||||
|
The same as syntax->datum and datum->syntax.
| |||
| |||
| |||
| |||
|
The module-identifier=?, etc. functions are the same as free-identifier=?, etc. in scheme/base.
The free-identifier=? procedure returns
(module-identifier=? a b)) |
(make-namespace [mode]) → namespace? |
mode : (one-of/c 'initial 'empty) = 'initial |
Creates a namespace with mzscheme attached. If the mode is empty, the namespace’s top-level environment is left empty. If mode is 'initial, then the namespace’s top-level environment is initialized with (namespace-require/copy 'mzscheme). See also make-base-empty-namespace.
(namespace-transformer-require req) → void? |
req : any/c |
Equivalent to (namespace-require `(for-syntax ,req)).
| ||
|
Raises exn:fail, because the operations are not supported.
(hash-table? v flag ) → hash-table? |
v : any/c |
flag : (one-of/c 'weak 'equal) |
Returns #t if v like a hash table created by make-hash-table or make-immutable-hash-table with the given flags (or more), #f otherwise. Each provided flag must be distinct; if the second flag is redundant, the exn:fail:contract exception is raised.
(make-hash-table flag ) → hash-table? |
flag : (one-of/c 'weak 'equal) |
Creates and returns a new hash table. If provided, each flag must one of the following:
'weak – creates a hash table with weakly-held keys via make-weak-hash or make-weak-hasheq
'equal – creates a hash table that compares keys using equal? instead of eq? using make-hash or make-weak-hash.
By default, key comparisons use eq?. If the second flag is redundant, the exn:fail:contract exception is raised.
(make-immutable-hash-table assocs flag ) |
→ (and/c hash-table? immutable?) |
assocs : (listof pair?) |
flag : (one-of/c 'equal) |
Like make-immutable-hash or make-immutable-hasheq, depending on whether an 'equal flag is provided.