Changeset 34152 in project


Ignore:
Timestamp:
06/01/17 05:14:18 (7 months ago)
Author:
kon
Message:

rel 2.3.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/box

    r27986 r34152  
    2323=== make-box
    2424
    25 <procedure>(make-box [INITIAL [IMMUTABLE? #f]]) => BOX</procedure>
     25<procedure>(make-box [INITIAL [IMMUTABLE? #f]]) => box</procedure>
    2626
    2727Returns a {{BOX}} with, optional, initial value {{INITIAL}}.
     
    3333=== make-box-variable
    3434
    35 <macro>(make-box-variable VARIABLE [IMMUTABLE? #f]) => BOX</macro>
     35<macro>(make-box-variable VARIABLE [IMMUTABLE? #f]) => box</macro>
    3636
    3737Returns a boxed reference to the {{VARIABLE}}, which must be in lexical-scope.
     
    4343=== make-box-location
    4444
    45 <macro>(make-box-location TYPE INITIAL-VALUE [IMMUTABLE? #f]) => BOX</macro>
     45<macro>(make-box-location TYPE INITIAL-VALUE [IMMUTABLE? #f]) => box</macro>
    4646
    4747Returns a boxed reference to a location of {{TYPE}} and {{INITIAL-VALUE}}.
     
    5555=== box?
    5656
    57 <procedure>(box? OBJECT) => BOOLEAN</procedure>
     57<procedure>(box? OBJECT) => boolean</procedure>
    5858
    5959Is {{OBJECT}} a {{BOX}}?
     
    6161=== box-mutable?
    6262
    63 <procedure>(box-mutable? OBJECT) => BOOLEAN</procedure>
     63<procedure>(box-mutable? OBJECT) => boolean</procedure>
    6464
    6565Is {{OBJECT}} a mutable {{BOX}}?
     
    6767=== box-immutable?
    6868
    69 <procedure>(box-immutable? OBJECT) => BOOLEAN</procedure>
     69<procedure>(box-immutable? OBJECT) => boolean</procedure>
    7070
    7171Is {{OBJECT}} an immutable {{BOX}}?
     
    7373=== box-variable?
    7474
    75 <procedure>(box-variable? OBJECT) => BOOLEAN</procedure>
     75<procedure>(box-variable? OBJECT) => boolean</procedure>
    7676
    7777Is {{OBJECT}} a boxed variable?
     
    7979=== box-location?
    8080
    81 <procedure>(box-location? OBJECT) => BOOLEAN</procedure>
     81<procedure>(box-location? OBJECT) => boolean</procedure>
    8282
    8383Is {{OBJECT}} a boxed location?
     
    9292=== box-ref
    9393
    94 <procedure>(box-ref BOX) => OBJECT</procedure>
     94<procedure>(box-ref BOX) => *</procedure>
    9595
    9696Returns the boxed value of {{BOX}}.
     
    9898=== box-location
    9999
    100 <procedure>(box-location BOX [WEAK? #f]) => LOCATION</procedure>
     100<procedure>(box-location BOX [WEAK? #f]) => location</procedure>
    101101
    102102Returns a {{LOCATION}} object for a boxed variable, location or locatable box.
     
    122122=== box
    123123
    124 <procedure>(box OBJECT) => BOX</procedure>
     124<procedure>(box OBJECT) => box</procedure>
    125125
    126126Returns a mutable {{BOX}} with initial value {{OBJECT}}.
     
    135135=== unbox
    136136
    137 <procedure>(unbox BOX) => OBJECT</procedure>
     137<procedure>(unbox BOX) => *</procedure>
    138138
    139139Returns the boxed value of {{BOX}}.
     
    194194== Version history
    195195
     196; 2.3.3 : Updated type information.
    196197; 2.3.2 : Added type information.
    197198; 2.3.1 :
     
    207208== License
    208209
    209 Copyright (C) 2009 Kon Lovett.  All rights reserved.
     210Copyright (C) 2009-2017 Kon Lovett.  All rights reserved.
    210211
    211212Permission is hereby granted, free of charge, to any person obtaining a
Note: See TracChangeset for help on using the changeset viewer.