Again, I think what you propose is different from what was asked.
> On 2003-11-18 at 10:46EST "Abraham Egnor" wrote:
> > The classic way to write a lift function for tuples is, of course:
> >
> > liftTup f (a, b) = (f a, f b)
> >
> > which has a type of (a -> b) -> (a, a) -> (b, b). I've been wo
The problem:
liftTup f (a, b) = (f a, f b)
of the signature
liftTup:: ?? -> (a,b) -> (c,d)
Again, it is possible to write this in Haskell with common extensions
> {-# OPTIONS -fglasgow-exts #-}
> import Data.Dynamic
> import Data.Maybe
> liftp f (a,b) = ((fromJust . fromDynamic . f .
[[ -- Apologies for multiple copies of this message -- ]]
+ + + + + WRLA'04 + + + + + LAST CALL FOR PAPERS + + + + + WRLA'04 + + + + +
EXTENDED DEADLINE
+--+
|
gtk2hs - A Haskell binding for Gtk+ version 2 GUI Toolkit.
This binding provides a low-level wrapper around the Gtk GUI
Toolkit. It covers nearly all widgets and thus provides a stable
development API. Recent additions include the SourceView widget
contributed by Duncan Coutts. The library is main
On Tue, Nov 18, 2003 at 05:56:19PM -0800, [EMAIL PROTECTED] wrote:
>
> Abraham Egnor wrote:
>
> > The classic way to write a lift function for tuples is, of course:
>
> > liftTup f (a, b) = (f a, f b)
>
> > which has a type of (a -> b) -> (a, a) -> (b, b). I've been wondering if
> > it would b
> "AS" == Axel Simon <[EMAIL PROTECTED]> writes:
AS> https://sourceforge.net/projects/gtk2hs/
A Linux ix86 rpm package built with ghc-6.0.1 and gtk2-2.2
is available too now.
Jens
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.or