Changeset 39604 in project


Ignore:
Timestamp:
02/23/21 07:35:56 (9 days ago)
Author:
dieggsy
Message:

Ensure array-domain is documented

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/5/srfi-179

    r39532 r39604  
    583583===== array-domain
    584584<procedure>(array-domain array)</procedure>
    585 
     585If {{array}} is an array built by
     586
     587 (make-array interval getter [setter])
     588
     589(with or without the optional {{setter}} argument) then {{array-domain}} returns {{interval}}. It is an error to call {{array-domain}} if {{array}} is not an array.
    586590===== array-getter
    587591<procedure>(array-getter array)</procedure>
     
    590594
    591595 (make-array interval getter [setter])
    592 (with or without the optional {{setter}} argument) then {{array-domain}} returns {{interval}} and {{array-getter}} returns {{getter}}. It is an error to call {{array-domain}} or {{array-getter}} if {{array}} is not an array.
     596(with or without the optional {{setter}} argument) {{array-getter}} returns {{getter}}. It is an error to call {{array-getter}} if {{array}} is not an array.
    593597
    594598Example:
     
    23422346
    23432347 Â© 2016, 2018, 2020 Bradley J Lucier. All Rights Reserved.
    2344  
     2348
    23452349 Permission is hereby granted, free of charge, to any person obtaining a copy of
    23462350 this software and associated documentation files (the "Software"), to deal in
     
    23492353 of the Software, and to permit persons to whom the Software is furnished to do
    23502354 so, subject to the following conditions:
    2351  
     2355
    23522356 The above copyright notice and this permission notice (including the next
    23532357 paragraph) shall be included in all copies or substantial portions of the
    23542358 Software.
    2355  
     2359
    23562360 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    23572361 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
Note: See TracChangeset for help on using the changeset viewer.