Re: [Haskell-cafe] Haskell XSLT interpreter?

2006-02-15 Thread Johan Jeuring
Has anyone written a pure haskell xslt interpreter? If not, how difficult would it be to do so? A master student of mine implemented XSLT in Haskell a couple of years ago. I've uploaded his thesis on http://www.cs.uu.nl/~johanj/MSc/danny.pdf If you're interested in the code, mail me.

[Haskell-cafe] Layout processing

2006-02-15 Thread Maurício
Hi, Is it possible to ask GHC or other Haskell compiler to generate a Haskell source file just after the processing of layout? I.e., I would like to see this: main = do a - some_function Transformed into this: main = do {a - some_function; I thought that would be usefull

[Haskell-cafe] Haskell as scripting language?

2006-02-15 Thread Marc Weber
Is there a way to use haskell as scripting language in a) your own project? b) other projects such as vim (beeing written in C)? At the moment I'm interested, I don't have any real project.. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

[Haskell-cafe] Re: strict Haskell dialect

2006-02-15 Thread Johan Bockgård
John Meacham [EMAIL PROTECTED] writes: there are actually several ways to implement IO. There is a paper about it somewhere that explores various methods, but I can't seem to find it, does anyone know which one i am thinking of? I know it at least explores the state and continuation versions

Re: [Haskell-cafe] Haskell as scripting language?

2006-02-15 Thread Jared Updike
For scenario (a) you can use hs-plugins and ghc http://www.cse.unsw.edu.au/~dons/hs-plugins/ With hs-plugins you can get an eval command, or you can dynamically load Haskell modules (from source or pre-compiled .o files). GHC (= 6.5) has an API that you can access from Haskell programs:

Re: [Haskell-cafe] Re: Hashtable woes

2006-02-15 Thread John Meacham
On Wed, Feb 15, 2006 at 09:42:10AM +0100, Ketil Malde wrote: Not sure how relevant this is, but I see there is a recently released hash library here that might be a candidate for FFIing? https://sourceforge.net/projects/goog-sparsehash/ | An extremely memory-efficient hash_map

Re: [Haskell-cafe] Re: Hashtable woes

2006-02-15 Thread Jan-Willem Maessen
On Feb 15, 2006, at 3:42 AM, Ketil Malde wrote: Not sure how relevant this is, but I see there is a recently released hash library here that might be a candidate for FFIing? https://sourceforge.net/projects/goog-sparsehash/ The real issue isn't the algorithms involved; I saw the best

Re: [Haskell-cafe] Re: strict Haskell dialect

2006-02-15 Thread John Meacham
On Wed, Feb 15, 2006 at 04:58:34PM +0100, Johan Bockgård wrote: John Meacham [EMAIL PROTECTED] writes: there are actually several ways to implement IO. There is a paper about it somewhere that explores various methods, but I can't seem to find it, does anyone know which one i am thinking

Re: [Haskell-cafe] Haskell as scripting language?

2006-02-15 Thread Donald Bruce Stewart
jupdike: For scenario (a) you can use hs-plugins and ghc http://www.cse.unsw.edu.au/~dons/hs-plugins/ With hs-plugins you can get an eval command, or you can dynamically load Haskell modules (from source or pre-compiled .o files). GHC (= 6.5) has an API that you can access from Haskell

[Haskell-cafe] Haskell' Status

2006-02-15 Thread Isaac Jones
I'll try to occasionally post an announcement of the the status of Haskell'[1], the next Haskell standard, so that you can all be aware of my thinking, and our current place in the timeline. There is a list of proposals and a strawman categorization of them on the wiki[2]. The categorization

[Haskell-cafe] Code completion? (IDE)?

2006-02-15 Thread Marc Weber
vim7 has introduced omni-completion... So I'm interested wether there are any projects which support any kind of completion.? I've read the thread about Eclipse IDE haskell plugin. Would you recommend picking up code from a haskell compiler and adapt it for this purpose? I'm interested but

[Haskell-cafe] Re: Associated Type Synonyms question

2006-02-15 Thread Stefan Wehr
Niklas Broberg [EMAIL PROTECTED] wrote:: On 2/10/06, Ross Paterson [EMAIL PROTECTED] wrote: On Fri, Feb 10, 2006 at 05:20:47PM +0100, Niklas Broberg wrote: - when looking at the definition of MonadWriter the Monoid constraint is not strictly necessary, and none of the other mtl monads have