[Haskell] Rebindable syntax for monads and arrows

2005-01-07 Thread Amr A Sabry
Greetings all, This message is a sort of a poll to find out how much interest the community has in an implementation of rebindable syntax for monads and arrows. You can send your answers directly to me (sabry ... indiana edu) and I will summarize to the list if appropriate. An example using monad

[Haskell] ICFP'04 early registration deadline

2004-08-24 Thread Amr A Sabry
** *** Early registration rates expire 25 August 2004 *** ** The 2004 International Conference on Functional Programming (ICFP) Snowbird,

[Haskell] ICFP'04 Call for Participation

2004-07-29 Thread Amr A Sabry
The 2004 International Conference on Functional Programming (ICFP) Snowbird, Utah September 19-22, 2004 Call for Participation * *** Early regis

[Haskell] ICFP Poster Session

2004-03-15 Thread Amr A Sabry
The 2004 ICFP Poster Session http://abstract.cs.washington.edu/~djg/icfp-poster.html Part of the 2004 International Conference on Functional Programming http://www.cs.indiana.edu/icfp04/ The 2004 International Conference on Functional Programming (ICFP) will include a poster sess

Re: no continuations

2003-12-30 Thread Amr A Sabry
Kevin S. Millikin <[EMAIL PROTECTED]> wrote: > Oh, sure. I didn't mean to quibble with the idea that continuations > are computational effects. Just wanted to point out that (I think) you > can't macro express mutation with call/cc, unless you've already got > mutation anyway. That's right:

Re: Syntax extensions: mdo and do...rec

2003-09-29 Thread Amr A Sabry
> Another approach to value recursion was recently given by Sabry and Moggi > in their latest FICS paper: They have an mfix-like operator for > continuations there, but it doesn't satisfy left-shrinking either. The paper in question is available at: http://www.cs.indiana.edu/~sabry/papers/val

Existentials...

2003-07-28 Thread Amr A Sabry
Hi, I believe this can be done with enough type hacking but I am not sure how... Consider the use existentials to implement a list of composable functions using something like: data F a b = forall c. PushF (a -> c) (F c b) | Bottom (a -> b) For example: f1 :: Char

Re: poll: polymorphic let bindings in do

2000-06-04 Thread Amr A Sabry
> [EMAIL PROTECTED] (Marcin 'Qrczak' Kowalczyk) > I'm curious how the generic translation into mfix could look like if > everything is visible everywhere ... The implementation of recursive definitions when the right-hand sides have computational effects is ancient (dates back to at least Landin'

Re: typing error?

1999-07-18 Thread Amr A Sabry
I don't have the paper in front of me but I am familiar with the idea ... Given the definition: f v = runST ( newVar v 'thenST' \w -> readVar w) Let's confirm that f :: (MutVar s a) -> (MutVar s a). Let v be of type (MutVar s a), then: newVar v :: ST s' (MutVar s' (MutVar s a)

Re: Reduction count as efficiency measure?

1998-11-25 Thread Amr A Sabry
> Is this true in practice? That is, are there programs which have > different asymptotic running times when compiled under ghc or hbc > than when running under Hugs? I haven't tried in ghc, hbc, and Hugs specifically but it is a possible scenario. Consider: max [] = 0 max(x:xs) = if (x > (max

Re: FW: Exceptions are too return values!

1998-06-11 Thread Amr A Sabry
> One of the wonderful things about functional languages is that they > do not prescribe the order of evaluation. To achieve the effect you > want would require us to completely prescribe that order, with very > bad effects on efficiency. For example, consider > ... > But if we are required to e