Excellent write-write up !
On Fri, 12 Aug 2016 at 13:40, Matthias Felleisen
wrote:
>
> You may want to scan this little write-up on first-class classes and
> mixins:
>
>
> http://www.ccs.neu.edu/home/matthias/Thoughts/Programming_with_Class_in_Racket.html
>
> I intended to
You may want to scan this little write-up on first-class classes and mixins:
http://www.ccs.neu.edu/home/matthias/Thoughts/Programming_with_Class_in_Racket.html
I intended to push into the docs at some point, but we dropped the ball on it.
> On Aug 12, 2016, at 8:13 AM, Normal Loone
How do I call the methodes of each mixin? When I tried something like
(define/public ...) the other mixins could not access these.
Am Donnerstag, 11. August 2016 20:19:02 UTC+2 schrieb Robby Findler:
> Although, with these two particular interfaces, there is no single
> class that implements
Although, with these two particular interfaces, there is no single
class that implements both. You would instead have two separate mixins
that would communicate by calling each others methods.
Robby
On Thu, Aug 11, 2016 at 12:09 PM, Daniel Feltey wrote:
> If you want to
If you want to inherit from both the frame and the tab in the mixin you
would write something like:
(mixin
(drracket:unit:frame<%>
drracket:unit:tab<%>)
()
;; body
...)
In this case the mixin will only work on classes that implement both the
tab and the frame interfaces, and you can
Hello,
I am having problems with the from-interfaces for mixins.
I want to make a function that uses functions defined in drracket:unit:frame<%>
but itself is called by a function defined in drracket:unit:tab<%>
So I just tried to make a mixin:
(define on-break-mixin
(mixin
6 matches
Mail list logo