[Haskell] Top Level

2009-06-16 Thread Ashley Yakeley
(moving to Libraries list) Wolfgang Jeltsch wrote: The Yampa people and I (the Grapefruit maintainer) already agreed to introduce a top-level FRP namespace instead of putting FRP under Control or whatever. Graphics.UI is a bad choice in my opinion, since not all user interfaces are graphical (

Re: [Haskell] Top Level <-

2008-08-26 Thread Derek Elkins
On Tue, 2008-08-26 at 19:01 +0400, Bulat Ziganshin wrote: > Hello Ashley, > > Monday, August 25, 2008, 3:12:18 AM, you wrote: > > > Is there any interest in implementing a top level "<-" to run monadic code? > > yes, definitely. as it's hard to develop "real" app w/o using global > vars, h98 sti

Re: [Haskell] Top Level <-

2008-08-26 Thread Bulat Ziganshin
Hello Ashley, Monday, August 25, 2008, 3:12:18 AM, you wrote: > Is there any interest in implementing a top level "<-" to run monadic code? yes, definitely. as it's hard to develop "real" app w/o using global vars, h98 still remains "unreal" language but from my POV it's important to push this

Re: [Haskell-cafe] Re: [Haskell] Top Level <-

2008-08-25 Thread John Meacham
On Mon, Aug 25, 2008 at 04:55:05PM +0100, Adrian Hey wrote: > (Moving to Haskell cafe) > > Edward Kmett wrote: >> On Sun, Aug 24, 2008 at 7:12 PM, Ashley Yakeley <[EMAIL PROTECTED]> wrote: >> >>> Is there any interest in implementing a top level "<-" to run monadic code? >>> >> >> This is actually

Re: [Haskell] Top Level <-

2008-08-25 Thread Adrian Hey
(Moving to Haskell cafe) Edward Kmett wrote: On Sun, Aug 24, 2008 at 7:12 PM, Ashley Yakeley <[EMAIL PROTECTED]> wrote: Is there any interest in implementing a top level "<-" to run monadic code? This is actually implemented in jhc. See the 'top level actions' section of http://repetae.net/

Re: [Haskell] Top Level <-

2008-08-25 Thread Edward Kmett
On Sun, Aug 24, 2008 at 7:12 PM, Ashley Yakeley <[EMAIL PROTECTED]> wrote: > Is there any interest in implementing a top level "<-" to run monadic code? > This is actually implemented in jhc. See the 'top level actions' section of http://repetae.net/computer/jhc/manual.html -Edward Kmett ___

[Haskell] Top Level <-

2008-08-24 Thread Ashley Yakeley
Is there any interest in implementing a top level "<-" to run monadic code? Currently this sort of thing is done with unsafePerformIO and switching off inlining with some pragma. Indeed, the 'atomically' haddock actually advises doing this to declare top-level TVars. The same trick is used in

[Haskell] Top-level <-

2004-11-25 Thread George Russell
John Meacham wrote: > Now, my mdo proposal as written would have "hello" outputed exactly once > at module start up time no matter what, whether x is demanded or not. it > is equivalant to a program transformation that collects all the top > level initializers and declarations, puts them all in a m