Changeset 34991 in project


Ignore:
Timestamp:
01/07/18 20:35:56 (9 months ago)
Author:
kon
Message:

rel 2.6.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/apropos

    r34945 r34991  
    1717==== apropos
    1818
    19 <procedure>(apropos PATTERN [#:macros? MACROS?] [#:qualified? QUALIFIED?] [#:sort SORT] [#:case-insensitive? CASE-INSENSITIVE?] [base BASE])</procedure>
     19<procedure>(apropos PATTERN [#:macros? MACROS?] [#:qualified? QUALIFIED?] [#:sort SORT] [#:case-insensitive? CASE-INSENSITIVE?] [#:raw? RAW?] [base BASE])</procedure>
    2020
    2121Displays information about symbols matching {{PATTERN}} in the toplevel
    2222environment.
    2323
    24 ; {{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.
     24; {{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.
    2525; {{MACROS?}} : Either {{#t}} to include macros, or {{#f}} to skip them. Default is {{#f}}.
    2626; {{QUALIFIED?}} : Either {{#t}} to include qualified symbols or {{#f}} to skip them. Default is {{#f}}.
    2727; {{CASE-INSENSITIVE?}} : Either {{#t}} to use match case-insensitivity for the {{PATTERN}} or {{#f}} to be case-sensitive. Default is {{#f}}.
    2828; {{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}}.
    29 ; {{BASE}} : {{fixnum}} in {{2..16}}. The default is {{10}}.
    30 
    31 Should {{PATTERN}} be a namespace qualified symbol the namespace will be
    32 dropped before conversion to a regular-expression.
    33 
    34 {{BASE}} is used to convert a {{number}} to a string {{PATTERN}}. Of dubious
    35 utility. But can ''fix'' the situation of entering a hex number, say {{#x1c}},
    36 for the pattern using the REPL and matching against {{28}}!
     29; {{RAW}} : Do not strip identifier symbols. The default is {{#f}}. Use {{#:raw? #t}} when ''apropos'' is suspected of hiding information.
     30; {{BASE}} : {{fixnum}} in {{2..16}}. The default is {{10}}. {{BASE}} is used to convert a {{number}} to a string {{PATTERN}}. Of dubious utility. But can ''fix'' the situation of entering a hex number, say {{#x1c}}, for the pattern using the REPL and matching against {{28}}!
    3731
    3832==== apropos-list
    3933
    40 <procedure>(apropos-list PATTERN [#:macros? MACROS?] [#:qualified? QUALIFIED?] [#:case-insensitive? CASE-INSENSITIVE?] [base BASE]) => list</procedure>
     34<procedure>(apropos-list PATTERN [#:macros? MACROS?] [#:qualified? QUALIFIED?] [#:case-insensitive? CASE-INSENSITIVE?] [#:raw? RAW?] [base BASE]) => list</procedure>
    4135
    4236Like {{apropos}} but returns an, unsorted, list of matching symbols.
     
    4438==== apropos-information-list
    4539
    46 <procedure>(apropos-information-list PATTERN [#:macros? MACROS?] [#:qualified? QUALIFIED?] [#:sort SORT] [#:case-insensitive? CASE-INSENSITIVE?] [base BASE]) => list</procedure>
     40<procedure>(apropos-information-list PATTERN [#:macros? MACROS?] [#:qualified? QUALIFIED?] [#:sort SORT] [#:case-insensitive? CASE-INSENSITIVE?] [#:raw? RAW?] [base BASE]) => list</procedure>
    4741
    4842Like {{apropos}} but returns a list key'ed by {{(MODULE . NAME)}}.
     
    264258== Version history
    265259
     260; 2.6.2 : Better (some?) support for identifiers with #s.
    266261; 2.6.1 : Added ''Notes''
    267262; 2.6.0 : check ,? .
Note: See TracChangeset for help on using the changeset viewer.