Re: lifting functions to tuples?

2003-11-19 Thread sebc
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

Re: lifting functions to tuples?

2003-11-19 Thread oleg
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 .

WRLA 2004 - Last call for papers (EXTENDED DEADLINE)

2003-11-19 Thread alberto
[[ -- Apologies for multiple copies of this message -- ]] + + + + + WRLA'04 + + + + + LAST CALL FOR PAPERS + + + + + WRLA'04 + + + + + EXTENDED DEADLINE +--+ |

Announce: Gtk2hs version 0.9.4

2003-11-19 Thread Axel Simon
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

Re: lifting functions to tuples?

2003-11-19 Thread sebc
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

Re: [Gtk2hs-users] Announce: Gtk2hs version 0.9.4

2003-11-19 Thread Jens Petersen
> "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