Re: [Haskell-cafe] Haskell syntax highlighting in a public blog

2011-08-09 Thread Bas van Gijzel
Another alternative is to use the HsColour package: http://code.haskell.org/~malcolm/hscolour/ and choose html as output. (This works for me on blogspot.com) On 9 August 2011 05:16, Daniel Patterson lists.hask...@dbp.mm.st wrote: On Aug 8, 2011, at 10:26 PM, Ivan Lazar Miljenovic wrote: On 9

Re: [Haskell-cafe] Re: Cabal update problem

2010-02-19 Thread Bas van Gijzel
I had the same problem on Windows XP when doing cabal install cabal-install. I fixed it by just replacing the cabal-install executable by the old one used in the haskell platform. Cheers, Bas On 19 February 2010 16:11, Maciej Podgurski maciej.podgur...@googlemail.com wrote: Am 19.02.2010

Re: [Haskell-cafe] river crossing puzzle

2009-10-01 Thread Bas van Gijzel
Or you could look at my blog posts describing the implementation of the Cannibals and Missionaries variant step by step. First a naive approach and secondly using a state monad solution. http://adoseoflogic.blogspot.com/2009/07/cannibals-missionaries-and-state-monad.html Cheers, Bas 2009/9/28

Re: [Haskell-cafe] [Haskell Cafe] Parsec: buildExpressionParser and parens typecheck problem

2009-07-11 Thread Bas van Gijzel
read some more explanations and examples in my bachelor paper if you'd like[1][2]. Good luck, Bas van Gijzel (server is currently down :( ) [1] Comparing Parser Construction Techniques: http://referaat.cs.utwente.nl/new/papers.php?confid=12 [2] Parser Code: http://fmt.cs.utwente.nl/~michaelw

Re: [Haskell-cafe] Just 3 = (1+)?

2009-05-09 Thread Bas van Gijzel
) is the (a - Maybe b) argument, finally delivering a Just 4 (of type Maybe b). (This is the same as do x - Just 3 return (x + 1) ) Oh and btw, fail should take an argument (the error string). Good luck, Bas van Gijzel On Sat, May 9, 2009 at 9:31 PM, michael rice

Re: [Haskell-cafe] Question about implementing an off-side rule in Parsec 2

2009-04-28 Thread Bas van Gijzel
. I'll keep you posted about my further progress. Cheers, Bas On Tue, Apr 28, 2009 at 2:04 PM, Neil Brown nc...@kent.ac.uk wrote: Bas van Gijzel wrote: Hello everyone, I'm doing a bachelor project focused on comparing parsers. One of the parser libraries I'm using is Parsec (2) and I'm going

[Haskell-cafe] Question about implementing an off-side rule in Parsec 2

2009-04-27 Thread Bas van Gijzel
be helpful. Thanks in advance, Bas van Gijzel ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe