[Haskell-cafe] Why Exotic Languages Are Not Mainstream

2006-08-11 Thread Johan Tibell
Haskell was mentioned in an article called Why Exotic Languages Are Not Mainstream on the blog defmacro.org the other day and I thought maybe someone would be interested (i.e. is procrastinating at work and need an excuse to do something else). Any comments?

Re: [Haskell-cafe] Why Exotic Languages Are Not Mainstream

2006-08-11 Thread Neil Mitchell
Hi, The bug that you have to download the old libraries for win32 on WinHugs is my fault, and is fixed in HEAD. Once the base library compiles with Windows and Hugs once more I'll start making a new release. Thanks Neil On 8/11/06, Johan Tibell [EMAIL PROTECTED] wrote: Haskell was mentioned

Re: [Haskell-cafe] Why Exotic Languages Are Not Mainstream

2006-08-11 Thread Duncan Coutts
On Fri, 2006-08-11 at 14:43 +0200, Johan Tibell wrote: Haskell was mentioned in an article called Why Exotic Languages Are Not Mainstream on the blog defmacro.org the other day and I thought maybe someone would be interested (i.e. is procrastinating at work and need an excuse to do something

[Haskell-cafe] A sudoku solver in 707 bytes

2006-08-11 Thread Marco Maggesi
Hi, just a short message to publicize my summer exercise in Haskell: a stupid sudoku solver (yes, again). Neither fast nor clever, but very short source code (707 bytes). Solves the nefarious test board cited in then Haskell Wiki in aprox 100s on my laptop (P4 2GHz). The code and an example

Re: [Haskell-cafe] Why Exotic Languages Are Not Mainstream

2006-08-11 Thread Neil Mitchell
Hi I also use http://haskell.org/hoogle quite a bit and I keep meaning to install the lambda bot locally on my machine so that I can ask it. If you download and compile hoogle from the darcs repo, there is a console version included. Of course, lambdabot gives you lots more than just hoogle,

Re: Re: [Haskell-cafe] Why Exotic Languages Are Not Mainstream

2006-08-11 Thread Nicolas Frisby
Thanks for the pointers, but I think I'm looking for type information specific to my program. The VisualHaskell feature of which I am envious is the ability to tell me the type of any identifier in my program. Disclaimer: I've never used VisualHaskell and am going only by what I read on its

Re: Re: Re: [Haskell-cafe] Why Exotic Languages Are Not Mainstream

2006-08-11 Thread Nicolas Frisby
Maybe it could also catch errors in my cafe emails... sqrs l = map sqr l where sqr x = x*x On 8/11/06, Nicolas Frisby [EMAIL PROTECTED] wrote: Thanks for the pointers, but I think I'm looking for type information specific to my program. The VisualHaskell feature of which I am envious is

[Haskell-cafe] Nested Monads Questions

2006-08-11 Thread Stefan Aeschbacher
Hi I'm trying to understand Monad Transformers. The code below works as expected but I have the following questions: - why can I use liftIO but not lift in the doSomething function? - why is there no liftSTM function? now to the code: module Main where import Control.Monad.Reader import

Re: [Haskell-cafe] Why Exotic Languages Are Not Mainstream

2006-08-11 Thread Ivan Tarasov
Is there a console version of lambdabot? I compiled and installed it locally, but it seems to print out the IRC messages, not plain-text messages. Do I need to install a local IRC server or is it possible to switch it to the plain-text mode? On 8/11/06, Neil Mitchell [EMAIL PROTECTED] wrote: Hi I

Re: [Haskell-cafe] Why Exotic Languages Are Not Mainstream

2006-08-11 Thread Clifford Beshers
Neil Mitchell wrote: If you download and compile hoogle from the darcs repo, there is a console version included. Of course, lambdabot gives you lots more than just hoogle, so might still be the one for you. I've been avoiding that, because there are too many things I'm tempted to fiddle with

Re: Re: Re: [Haskell-cafe] Why Exotic Languages Are Not Mainstream

2006-08-11 Thread Jason Dagit
On 8/11/06, Nicolas Frisby [EMAIL PROTECTED] wrote: Maybe it could also catch errors in my cafe emails... sqrs l = map sqr l where sqr x = x*x Would you really want to write your emails in VisualStudio? ;-) On 8/11/06, Nicolas Frisby [EMAIL PROTECTED] wrote: Thanks for the pointers,

Re: Re: [Haskell-cafe] Why Exotic Languages Are Not Mainstream

2006-08-11 Thread Thiago Arrais
Nicolas, On 8/11/06, Nicolas Frisby [EMAIL PROTECTED] wrote: Is there anything similar to VisualHaskell that works in light-weight (compared to Studio...) and multi-platform editors? There is EclipseFP: http://eclipsefp.sourceforge.net It doesn't support type inference at edition, but it is

Re: [Haskell-cafe] Why Exotic Languages Are Not Mainstream

2006-08-11 Thread Clifford Beshers
Neil Mitchell wrote: Just as a warning, I've been offline without a computer for a week, and have now entirely redesigned pretty much every aspect of Hoogle 3 in preparation for Hoogle 4. Its all on paper for now, but in the very near future Hoogle will get completely rewritten :) Excellent.

Re: [Haskell-cafe] Why Exotic Languages Are Not Mainstream

2006-08-11 Thread Neil Mitchell
Hi Excellent. I see on your long term list an item for specifying module names as input. I don't suppose you plan to support something like 'Data.*' returning a list of all the modules at that level of the hierarchy? Recently I've been wanting an interactive command for browsing the module

Re: [Haskell-cafe] Nested Monads Questions

2006-08-11 Thread Joel Björnson
2006/8/11, Stefan Aeschbacher [EMAIL PROTECTED]: HiI'm trying to understand Monad Transformers. The code below works asexpected but I have the following questions: - why can I use liftIO but not lift in the doSomething function?I will first try to explain why it is not possible to use lift. Short

Re: [Haskell-cafe] AJAX applications in Haskell

2006-08-11 Thread Bjorn Bringert
On Aug 10, 2006, at 6:29 AM, Adam Peacock wrote: On 8/10/06, Jared Updike [EMAIL PROTECTED] wrote: [..] http://www.ugcs.caltech.edu/~lordkaos/calc.cgi (source available here http://www.ugcs.caltech.edu/~lordkaos/ calc.tar.gz) I've only recently joined this mailing list, and there seems

[Haskell-cafe] Re: Nested Monads Questions

2006-08-11 Thread Dan Doel
On 8/11/06, Stefan Aeschbacher [EMAIL PROTECTED] wrote: I'm trying to understand Monad Transformers. The code below works as expected but I have the following questions: I'll take a shot. - why can I use liftIO but not lift in the doSomething function? I fooled around a bit, and the answer

Re: [Haskell-cafe] Nested Monads Questions

2006-08-11 Thread Chris Kuklewicz
I will try any make a simpler explanation: Hi I'm trying to understand Monad Transformers. The code below works as expected but I have the following questions: - why can I use liftIO but not lift in the doSomething function? Replacing liftIO with (lift . lift) does work: doSomething :: MyM

Re: [Haskell-cafe] Nested Monads Questions

2006-08-11 Thread Chris Kuklewicz
I put a more comprehensive MonadBase module on the wiki at: http://haskell.org/haskellwiki/NewMonads Nine Base Monads: IO STM ST ST.Lazy GenParser [] Maybe Either (-) Seven MonadTrans: ListT ContT ErrorT ReaderT StateT WriterT RWST ___

[Haskell-cafe] cabal specify a tested version, ghci target?

2006-08-11 Thread Marc Weber
1.) I know I can use Build-Depends: lib == version, lib2 version, lib3 = version and so on. Do you think it would be useful to introducue some notation to indicate a tested with ? Reason, purpose: I think its sometimes the case that a