bug-mit-scheme
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-mit-scheme] [bug #56337] enumerate-graphics-types doesn't behave as


From: John Wick
Subject: [Bug-mit-scheme] [bug #56337] enumerate-graphics-types doesn't behave as documented.
Date: Fri, 17 May 2019 03:03:05 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.108 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?56337>

                 Summary: enumerate-graphics-types doesn't behave as
documented.
                 Project: MIT/GNU Scheme
            Submitted by: g6238
            Submitted on: Fri 17 May 2019 07:03:03 AM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect behavior
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                Keywords: 

    _______________________________________________________

Details:

Documented here:
https://www.gnu.org/software/mit-scheme/documentation/mit-scheme-ref/Opening-and-Closing-of-Graphics-Devices.html#Opening-and-Closing-of-Graphics-Devices

Supposedly, this function returns "a list of symbols which are the names of
all the graphics device types that are supported by the Scheme system."

In reality, it returns a list of objects that are anything but symbols.
Transcript:

    1 ]=> (enumerate-graphics-types)
    
    ;Loading "/usr/lib/i386-linux-gnu/mit-scheme/lib/prx11.so"... done
    ;Value 11: (#[graphics-type 12 x])
    
    1 ]=> (map symbol? (enumerate-graphics-types))
    
    ;Value 13: (#f)

Documentation should not lie.





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56337>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]