Re: Haskell GUI examples
Jens Petersen <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.gui |
|---|---|
| Message-ID | <[email protected]> |
Daan Leijen <[email protected]> writes: > btw. Maybe you should make the objects the last argument > of instance functions. That way, you can use an object oriented > style of programming (if you like that): > > infixr 0 # -- matches nicely with ($) > > (#) :: self -> (self -> a) -> a > self # f = f self FWIW we had (#) in gtk2hs for a while, but in the end it didn't seem so useful, so it was removed Jens