Changeset 37051 in project
- Timestamp:
- 01/16/19 21:14:45 (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wiki/eggref/5/apropos
r36213 r37051 20 20 ==== apropos 21 21 22 <procedure>(apropos PATTERN #!key macros? qualified?sort case-insensitive? raw? base split)</procedure>22 <procedure>(apropos PATTERN #!key macros? sort case-insensitive? raw? base split)</procedure> 23 23 24 24 Displays information about symbols matching {{PATTERN}} in the toplevel 25 25 environment. 26 26 27 ; {{PATTERN}} : A {{symbol}}, {{string}}, {{irregex}}, {{irregex-sre}}, {{(quote symbol)}}, {{(quote string)}}. When unquoted symbol or string substring matching is performed. When quoted the string value is taken as an irregex regular expression string for use with search. Should {{PATTERN}} be a namespace qualified symbol the namespace will be dropped before conversion to a regular-expression.27 ; {{PATTERN}} : A {{symbol}}, {{string}}, {{irregex}}, {{irregex-sre}}, {{(quote symbol)}}, {{(quote string)}}. When unquoted symbol or string substring matching is performed. When quoted the string value is taken as an irregex regular expression string for use with search. 28 28 ; {{MACROS?}} : Either {{#t}} to include macros, or {{#f}} to skip them. Default is {{#f}}. 29 ; {{QUALIFIED?}} : Either {{#t}} to include qualified symbols or {{#f}} to skip them. Default is {{#f}}.30 29 ; {{CASE-INSENSITIVE?}} : Either {{#t}} to use match case-insensitivity for the {{PATTERN}} or {{#f}} to be case-sensitive. Default is {{#f}}. 31 30 ; {{SORT}} : Either {{#:name}} for an symbol sort, {{#:module}} for an module symbol sort, or {{#:type}} for a type+indentifier sort, or {{#f}} for unsorted. Default is {{#:type}}. … … 36 35 ==== apropos-list 37 36 38 <procedure>(apropos-list PATTERN #!key macros? qualified?case-insensitive? raw? base) => list</procedure>37 <procedure>(apropos-list PATTERN #!key macros? case-insensitive? raw? base) => list</procedure> 39 38 40 39 Like {{apropos}} but returns an, unsorted, list of matching symbols. … … 42 41 ==== apropos-information-list 43 42 44 <procedure>(apropos-information-list PATTERN #!key macros? qualified?sort case-insensitive? raw? base) => list</procedure>43 <procedure>(apropos-information-list PATTERN #!key macros? sort case-insensitive? raw? base) => list</procedure> 45 44 46 45 Like {{apropos}} but returns a list key'ed by {{(MODULE . NAME)}}. … … 145 144 146 145 <enscript language=scheme> 147 > (apropos 'print #:qualified? #t)146 > (apropos 'print) 148 147 printer: keyword 149 148 flonum-print-precision procedure tmp … … 192 191 193 192 ; {{mac[ros]}} : {{#:macros? #t}} 194 ; {{qual[ified]}} : {{#:qualified? #t}}195 193 ; {{sort [name|module|type|#f]}} : {{#:sort #:name|#:module|#:type|#f}} 196 194 ; {{split [name|module|#f]}} : {{#:split #:name|#:module|#f}} … … 204 202 205 203 <enscript language=scheme> 206 #;1> ,a print qualifiedmacros sort name204 #;1> ,a print macros sort name 207 205 char-set:printing variable 208 206 define-record-printer macro … … 235 233 236 234 <enscript language=scheme> 237 #;1> ,a '(: (* any)) qualifiedmacros sort name235 #;1> ,a '(: (* any)) macros sort name 238 236 * procedure C_times 239 237 ... 1600 lines + ... … … 286 284 == Version history 287 285 286 ; 3.1.3 : Removed ''qualified'' symbol references. 287 ; 3.1.2 : Fix removed namespace-qualified symbols from core. 288 ; 3.1.1 : 288 289 ; 3.1.0 : Add {{apropos-api}} & {{apropos-csi}}. Add {{apropos-default-base}}, {{check-apropos-number-base}}, {{apropos-sort-key?}}, {{check-apropos-sort-key}}, & {{error-apropos-sort-key}}. 289 290 ; 3.0.0 : CHICKEN 5 release.
Note: See TracChangeset
for help on using the changeset viewer.