Re: Hugs plugin, Haskell Browser

2002-03-13 Thread Ketil Z. Malde
"Manuel M. T. Chakravarty" <[EMAIL PROTECTED]> writes: > The detailed choice of colours is, of course, adjustable. > At least on a Unix machine, I am quite sure you can use > XEmacs also in batch mode to generate the HTML Sure. Have a look at -batch, -f and -eval options. Be prepared for a bit

Strictness (was: Is this tail recursive?)

2002-03-13 Thread Jay Cox
On Wed, 13 Mar 2002, Bjorn Lisper wrote: > Hal Daume III: > >Here's the basic idea. Suppose we have the function: > > > >> sum [] acc = acc > >> sum (x:xs) acc = sum xs (acc+x) > > > >This is tail recursive, but not strict in the accumulator argument. > ... > > Just a nitpick here. sum is indeed

Re: Hugs plugin, Haskell Browser

2002-03-13 Thread Manuel M. T. Chakravarty
"Robert Giegerich" <[EMAIL PROTECTED]> wrote, > I often use Haskell demos in teaching algorithms. The problem is that this > does not integrate well with the rest of the material, e.g. lecture > notes or slides in PDF or HTML. I'd like to integrate explanations and > demos and explorative changes

un-layout program

2002-03-13 Thread Hal Daume III
does there exist a program that'll take a layed out haskell program and output one that uses braces and semis to delimit? - hal -- Hal Daume III "Computer science is no more about computers| [EMAIL PROTECTED] than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume

Re: Hugs plugin, Haskell Browser

2002-03-13 Thread Alastair David Reid
> Is there something like a Hugs plugin for Netscape? We used to have one at Yale. Can't remember what happened to it so I'm adding John Peterson to the address list in case he can remember. -- Alastair ReidReid Consulting (UK) Ltd ___ Hask

RE: HGL ang GHC on Win32

2002-03-13 Thread Hal Daume III
That is a shame. I tried both suggestions (specifying position explicitly and recompiling with fvia-c -- i had been using O all along) and neither worked :(. I also tried using 5.03, and got the following warnings: ghc.exe: chasing modules from: HelloWorld.hs Compiling GraphicsFlag ( c:\Hug

Re: Hugs plugin, Haskell Browser

2002-03-13 Thread Abraham Egnor
Vim can produce HTML from any source code it has highlighting rules for, which includes Haskell. Dunno about the browser plugin, though. Abe On Wed, 13 Mar 2002, Robert Giegerich wrote: > Teachers in Haskell, > > I often use Haskell demos in teaching algorithms. The problem is that this > doe

Hugs plugin, Haskell Browser

2002-03-13 Thread Robert Giegerich
Teachers in Haskell, I often use Haskell demos in teaching algorithms. The problem is that this does not integrate well with the rest of the material, e.g. lecture notes or slides in PDF or HTML. I'd like to integrate explanations and demos and explorative changes to algorithms. This needs better

RE: HGL ang GHC on Win32

2002-03-13 Thread Simon Marlow
> I'm hoping that a GHC honcho will say > > "Well of course that happens with 5.02.2 - you should > upgrade to 5.03 right away." > > or some such. I'm afraid not :-) But there *is* a bug in the native code generator in 5.02.2, namly in the FFI support for passing floating point arguments t