[Haskell-cafe] Beginner SOS

2009-05-27 Thread Manu Gupta
it as a serious programming languages Till now I have referred Haskell wiki and have tried everywhere but does not seem to learn it PLZ, PLZ HELP ME OUT -- Regards MANU ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

[Haskell-cafe] Problem building hdbc-sqlite3 with ghc 6.8.2

2008-01-02 Thread manu
hello, has anybody managed to build hdbc-sqlite3 with ghc 6.8.2 ? I get the following error : Macintosh:HDBC-sqlite3-1.1.3.0 manu$ runhaskell Setup.lhs build Preprocessing library HDBC-sqlite3-1.1.3.0... ghc-6.8.2: unrecognised flags: -F/Users/manu/Library/Frameworks Usage: For basic

Re: [Haskell-cafe] Haskell and DB : giving up

2007-11-29 Thread manu
is largely marginal (like say... websites). Manu ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Pb building HDBC-sqlite3

2007-11-28 Thread manu
Hello still, trying to use a database with ghc 6.8.1 - patience running low however :) I now have troubles installing HDBC-sqlite3 the build fails like so : $ runhaskell Setup.lhs build Preprocessing library HDBC-sqlite3-1.1.3.0... Utils.hsc:31:33: error: hdbc-sqlite3-helper.h: No

[Haskell-cafe] Pb builind hdbc-sqlite3 (suite)

2007-11-28 Thread manu
-1.1.3.0... [3 of 7] Compiling Database.HDBC.Sqlite3.Utils ( dist/build/Database/ HDBC/Sqlite3/Utils.hs, dist/build/Database/HDBC/Sqlite3/Utils.o ) Database/HDBC/Sqlite3/Utils.hsc:74:8: parse error on input `import' manu:/Volumes/data/Downloads/HDBC/hdbc-sqlite3 manu$ line 74 is : foreign

[Haskell-cafe] Pb builind hdbc-sqlite3 (the end)

2007-11-28 Thread manu
Hello I should think a bit before posting to the list, sorry for the pollution ! this error : Database/HDBC/Sqlite3/Utils.hsc:74:8: parse error on input `import' manu:/Volumes/data/Downloads/HDBC/hdbc-sqlite3 manu$ can be avoided by adding ForeignFunctionInterface to the extensions

[Haskell-cafe] Haskell and DB : giving up

2007-11-28 Thread manu
Hello I've spent a few days trying to install all the packages required to use HaskellDB with either MySQL or SQlite3 (the only 2 DB the host I was thinking about is supporting) Well, I am giving up ! I seriously regret replacing ghc-6.6 with ghc-6.8, I didn't expect that building packages

[Haskell-cafe] Re: Haskell-Cafe Digest, Vol 51, Issue 180

2007-11-28 Thread manu
... I didn't bother with hsql-mysql-1.7 since Duncan Coutts mentioned it required significant work (and I cannot do much) Manu ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Cabal and DB packages

2007-11-25 Thread manu
... Is there any simple way to do it though ? Is there any problems with Cabal that I need to work around ? Help !! Manu ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] WideFinder

2007-11-07 Thread manu
/ blog/2007/09/25/what-the-heck-is-a-wide-finder-anyway/) that would place Haskell right in the second position. JoCaml is the fastest so far (http://eigenclass.org/hiki.rb?fast- widefinder)... Can Haskell do better ? Care to take a shot ? Manu

Re: [Haskell-cafe] Why can't Haskell be faster?

2007-10-31 Thread manu
is how side-effects are allowed (Uniqueness Types for Clean, and Monadic I/O for Haskell) GHC also supports a lot of extensions beyong Haskell98. Does it explain the difference in performances ? I don't know... Experts please ! Manu ___ Haskell-Cafe

[Haskell-cafe] What algorithm to use ?

2007-10-22 Thread manu
Hello I am not sure it is appropriate to post to this mailing list to inquire about a peculiar algorithm, if not let me know... I was looking at one particular puzzle posted on the Facebook site, 'Wiretaps' (http://www.facebook.com/jobs_puzzles/?puzzle_id=11). Briefly, you have 26

Re: [Haskell-cafe] Suspected stupid Haskell Question

2007-10-17 Thread manu
The problem there is that nub is O(n^2). Is there a place where one can look up the complexity of Standard Libraries functions ? E.D ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Re: Tiny documentation request

2007-09-12 Thread manu
On Sep 11, 2007, at 9:58 PM, Miguel Mitrofanov wrote: Well, I'm not a web designer, but I did work with few of them, and it seems to me that you either create a table design in two hours or spend three days trying to create a CSS one and THEN create a table design in two hours. That's an

[Haskell-cafe] Re: Tiny documentation request

2007-09-11 Thread manu
On Sep 11, 2007, Simon Marlow wrote: Please, please, someone do this for me. I tried, and failed, to get the layout right for the contents list in all browsers at the same time. The semantics of CSS is beyond my comprehension. Cheers, Simon Hi Simon, On the page

Re: [Haskell-cafe] Tiny documentation request

2007-09-10 Thread manu
Neil Mitchell wrotes : Replicating actual tables with CSS is a nightmare - you shouldn't use table's for lots of things, I agree but there are sometimes when it really is the best option. Which isn't the case here ! Nested lists would easily do the trick... Fixing up the CSS and still

Re: [Haskell-cafe] Norvig's Sudoku Solver in Haskell

2007-08-27 Thread manu
://hpaste.org/2452#a1 Manu On Aug 26, 2007, at 10:56 PM, Daniel Fischer wrote: Without much thinking I can spped it up by a factor of 4 (from 280s to 60s). The most important things are: - don't use length unless you need it instead of newV2 - case length newCell of 0 - Nothing

Re: [Haskell-cafe] Norvig's Sudoku Solver in Haskell

2007-08-27 Thread manu
From: Daniel Fischer Thought it was something like that. Must check whether that beats Norvig's constraint propagation. it does ! on my machine : Jon Harrop's : 12.5 sec and Norvig's : 15 sec Manu ___ Haskell-Cafe mailing list Haskell-Cafe

[Haskell-cafe] Norvig's Sudoku Solver in Haskell

2007-08-26 Thread manu
Hello, After reading Peter Norvig's take on writing a Sudoku solver (http:// norvig.com/sudoku.html) I decided that I would port his program to Haskell, without changing the algorithm, that'll make a nice exercise I thought and should be fairly easy... Boy, was I wrong ! Anyway, I

Re: [Haskell-cafe] Norvig's Sudoku Solver in Haskell

2007-08-26 Thread manu
From: Malte Milatz [EMAIL PROTECTED] Subject: Re: [Haskell-cafe] Norvig's Sudoku Solver in Haskell Your program was wrapped by your mail client, so you may want to hpaste your program for easier digestion. here it is : http://hpaste.org/2452 Your profiling output suggests that much time

[Haskell-cafe] Building c2hs on a mac

2007-04-06 Thread manu
Hello, I'd be interested to know if anybody had managed to build c2hs on a mac recently because I've tried the current darcs version, c2hs-0.14.5, c2hs-0.14.3, c2hs-0.13.6, etc... to no avail I get this with c2hs-0.14.5 : ./Setup.hs configure ./Setup.hs:11:57: Couldn't match expected