For Programmers: Free Programming Magazines  


Home > Archive > Scheme > June 2004 > MrEd MDI on Windows









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author MrEd MDI on Windows
none

2004-05-12, 9:13 pm

I'm using DrScheme v206p1 for Windows.

DrScheme breaks execution at the definition of
the child frame in the following module:

(module mdi mzscheme
(require (lib "class.ss") (lib "mred.ss" "mred"))
(define parent (new frame% (label "Parent") (style '(mdi-parent))))
(define child (new frame% (label "Child") (parent parent) (style '(mdi-child)))))

The error message is:

procedure get-mdi-parent method in
C:\Program Files\plt\collects\mred
\mred.ss:1581:3: expects 1 argument, given 0

Is this a problem with MrEd or with my module?
Thanks.

Matthias Felleisen

2004-05-12, 9:13 pm

none wrote:

> I'm using DrScheme v206p1 for Windows.
>
> DrScheme breaks execution at the definition of
> the child frame in the following module:
>
> (module mdi mzscheme
> (require (lib "class.ss") (lib "mred.ss" "mred"))
> (define parent (new frame% (label "Parent") (style '(mdi-parent))))
> (define child (new frame% (label "Child") (parent parent) (style '(mdi-child)))))
>
> The error message is:
>
> procedure get-mdi-parent method in
> C:\Program Files\plt\collects\mred
> \mred.ss:1581:3: expects 1 argument, given 0
>
> Is this a problem with MrEd or with my module?
> Thanks.


This is a bug in mred.ss and it is indeed a call to the method (lambda (x) x)
without any arguments. I will file a bug report. Thanks! -- Matthias

George Neuner

2004-06-03, 7:27 pm

On Tue, 11 May 2004 23:15:38 GMT, "none" <a@g.r> wrote:

>I'm using DrScheme v206p1 for Windows.
>
>DrScheme breaks execution at the definition of
>the child frame in the following module:
>
>(module mdi mzscheme
> (require (lib "class.ss") (lib "mred.ss" "mred"))
> (define parent (new frame% (label "Parent") (style '(mdi-parent))))
> (define child (new frame% (label "Child") (parent parent) (style '(mdi-child)))))
>
>The error message is:
>
>procedure get-mdi-parent method in
>C:\Program Files\plt\collects\mred
>\mred.ss:1581:3: expects 1 argument, given 0
>


This same bug made it into 207

George
--
Send real email to GNEUNER2 at COMCAST o NET
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com