Ticket #474: exception_manual.patch

File exception_manual.patch, 1.0 KB (added by Christian Kellermann, 13 years ago)

patch against experimental d287f2ce0e153ba250e1111d9f484c0d52e22b75 adding condition->list to the manual exceptions section

  • manual/Exceptions

    From 849abc4e989ddefb8ce9c9670ef31c6a366af825 Mon Sep 17 00:00:00 2001
    From: Christian Kellermann <ckeen@pestilenz.org>
    Date: Wed, 19 Jan 2011 13:29:02 +0100
    Subject: [PATCH] Entry for condition->list added to manual.
    
    ---
     manual/Exceptions |   11 +++++++++++
     1 files changed, 11 insertions(+), 0 deletions(-)
    
    diff --git a/manual/Exceptions b/manual/Exceptions
    index 426b7fb..9e75e0b 100644
    a b A slightly more convenient condition property accessor, equivalent to 
    121121
    122122 ((condition-property-accessor KIND PROPERTY [DEFAULT]) CONDITION)
    123123
     124
     125<procedure>(condition->list CONDITION)</procedure>
     126
     127This procedure converts a condition object into a list holding all the
     128conditions that are represented by the ''CONDITION'' object.  It is
     129formatted as follows:
     130
     131 ((KIND1 (PROPERTY1 VALUE1) (PROPERTY2 VALUE2) ...) (KIND2 ... ) ... )
     132
     133There is no guaranteed order within the list.
     134
    124135== SRFI-12 specification
    125136
    126137A Scheme implementation ("the system") raises an exception whenever an