Re: [racket-users] Re: Mixin questions

2016-08-11 Thread Normal Loone
Does that mean, I can not use inherit on tab% here? Because that's my problem I need functions from both classes but I can only inherit from one, the other always results in runtime errors. Is there a way to use more from-interfaces than just one? The they it's worded suggested that you can us

Re: [racket-users] Re: Mixin questions

2016-08-10 Thread Daniel Feltey
When you write (mixin (drracket:unit:frame<%>) (drracket:unit:tab<%>) ;; body ...) This produces a function that takes classes which implement the drracket:unit:frame<%> interface and produces classes that implement the drracket:unit:tab<%> interface. In the body of the mixin you can only assum

[racket-users] Re: Mixin questions

2016-08-10 Thread Normal Loone
The Documentation talks about range of classes, and I am not really sure what that means. Above would then be everything between frame and tab? But why cant I then not use frame functions in the implementation? -- You received this message because you are subscribed to the Google Groups "Rack