Re: [Haskell-cafe] Haskell at University in Munich

2011-12-06 Thread Bartosz Wójcik
On Monday 05 December 2011 20:37:43 Janis Voigtländer wrote: Am 05.12.2011 12:00, schrieb bar...@sudety.it: Hello Haskell Cafe, I would be grateful for any information regarding Haskell (or at least Functional Programming) lectures at Universities near to Munich, Germany (Master or

Re: [Haskell-cafe] Haskell at University in Munich

2011-12-06 Thread Bartosz Wójcik
On Monday 05 December 2011 10:00:08 Sean Leather wrote: On Mon, Dec 5, 2011 at 00:18, Bartosz Wójcik wrote: If Munich and 200 km circle do not provide with any offer, perhaps you may know what is available in Europe, limiting language of study to [German, English, Polish]? I believe

[Haskell-cafe] Haskell at University in Munich

2011-12-04 Thread Bartosz Wójcik
Hello Haskell Cafe, I would be grateful for any information regarding Haskell (or at least Functional Programming) lectures at Universities near to Munich, Germany (Master or Bachelor). Unconfirmed information I've got regarding LMU and TUM are not promising. If Munich and 200 km circle do not

Re: [Haskell-cafe] Fast code question

2009-06-05 Thread Bartosz Wójcik
Packed Decimal downloaded on pc is just a stream of bytes without any comma. I was supposed to reformat data. If I undersdand bytestring-csv library, it parses csv format data. Thanks for the hint. I'll investigate next time when I have to deal with huge files. Bartek On Thursday 04 June 2009

Re: [Haskell-cafe] Fast code question

2009-06-05 Thread Bartosz Wójcik
Integer was on purpose. One of the fields was 14 digits number. Usually I parse EBCDIC directly on mainframe. This time it was exception. Bartek On Thursday 04 June 2009 22:38:53 Michael Snoyman wrote: I *do* know what Packed Decimal is; at my previous job, I actually had a whole Haskell

[Haskell-cafe] Fast code question

2009-06-04 Thread Bartosz Wójcik
Hi Folks, I had to transform Packed Decimal file into csv format (does anybody here know what this Mainframe format is?). Because of the file size I could not do this on mainframe directly. So I've created simply program using ByteString. Generally I'm happy with my solution: pgm processes

Re: [Haskell-cafe] Parsec float

2009-05-30 Thread Bartosz Wójcik
On Saturday 30 May 2009 03:10:11 Bryan O'Sullivan wrote: On Fri, May 29, 2009 at 5:04 PM, Bartosz Wójcik bar...@sudety.it wrote: I don't undersdand what is being missed. Brevity. liftM f m1 = do { x1 - m1; return (f x1) } so liftM fromIntegral integer will result

Re: [Haskell-cafe] Parsec float

2009-05-29 Thread Bartosz Wójcik
On Friday 29 May 2009 08:34:36 you wrote: myfloat = try (do{ symbol -; n - float; return (negate n) }) |            try float |                do { i-integer; return(fromIntegral i) } Thank you, this is an easy and nice solution. I've made it a bit prettier optically: myFloat = try (symbol -

Re: [Haskell-cafe] Parsec float

2009-05-29 Thread Bartosz Wójcik
On Friday 29 May 2009 22:10:51 Bryan O'Sullivan wrote: myFloat = try (symbol - float = return . negate) | try float | (integer = return . fromIntegral) Any time you see = return ., something is being missed. Use liftM or $ instead, i.e. fromIntegral $ integer instead of integer

[Haskell-cafe] Parsec float

2009-05-28 Thread Bartosz Wójcik
Hi Everybody (especially Parsec Creator), is there any reason why float parses only positive numbers? I find following defition: float = lexeme floating ? float floating= do{ n - decimal ; fractExponent n } If floating was

Re: [Haskell-cafe] installing Sqlite3 driver for windows

2009-04-26 Thread Bartosz Wójcik
I've installed recently hsdc-sqlit3 on my Windows. I remember it was enough to copy dll to system32, header .h to somewhere and key in path to both to cabal file. Then usual stuff with setup. It worked and I managed to access DB. best, Bartek On Thursday 23 April 2009 03:13:38 Michael P Mossey

Re: [Haskell-cafe] Employment

2009-01-23 Thread Bartosz Wójcik
On Monday 19 January 2009 23:26:09 Sittampalam, Ganesh wrote: We (Credit Suisse) have Haskell developers in both London and NY, although the page only listed NY (I've now corrected it). If CS had Haskell positions in Wroclaw, Poland I'd apply for it! Best, Bartek

Re: [Haskell-cafe] Windows vs. Linux x64

2008-11-26 Thread Bartosz Wójcik
On Wednesday 26 November 2008 02:16:26 John Meacham wrote: On Tue, Nov 25, 2008 at 09:39:35PM +0100, Ketil Malde wrote: This corresponds to my experiences - 64 bits is slower, something I've ascribed to the cost of increased pointer size. ghc unfortunatly also uses 64 bit integers when in

Re: [Haskell-cafe] Windows vs. Linux x64

2008-11-25 Thread Bartosz Wójcik
On Monday 24 November 2008 23:59:02 Don Stewart wrote: bartek: Hi Everybody, while working on my resent project I've noticed that my code seems to be faster under Windows than under Linux x64. Is Windows running in 32 bit? What gcc versions are you using on each system? Windows is 32

[Haskell-cafe] Windows vs. Linux x64

2008-11-24 Thread Bartosz Wójcik
Hi Everybody, while working on my resent project I've noticed that my code seems to be faster under Windows than under Linux x64. More exactly this was an AI game evaluator that ran on given parameters. There was no IO performed. I've run 3 lots of test on both systems and stored some figures.

[Haskell] ANNOUNCE: EEConfig-1.0

2008-11-18 Thread Bartosz Wójcik
ExtremlyEasyConfig I've searched for simply library to read parameters from input file. I've found ConfigFile only one and during reading its docu understood, that for simple functionality I needed I'd rather write faster sth new than understood usage of this powerfull cannon.

[Haskell-cafe] Problem with directory-1.0.0.0

2008-11-13 Thread Bartosz Wójcik
Hi Folks, I'm facing problem after I've reinstalled directory-1.0.0.0 (setup configure/build/install). Since then I cannot complie anything that needs this library. It fails with following messages: Preprocessing library haddock-2.4.0... Preprocessing executables for haddock-2.4.0... Building

Re: [Haskell-cafe] Problem with directory-1.0.0.0

2008-11-13 Thread Bartosz Wójcik
OK, I've found package.conf file and updated there libraries manually. Why new one doesn't work I don't know though. If anyone can have an idea, it'd be helpful. best, Bartek On Thursday 13 November 2008 22:08:19 Bartosz Wójcik wrote: I'm facing problem after I've reinstalled directory-1.0.0.0

Re: [Haskell-cafe] Haskell in Artificial Intelligence

2008-10-11 Thread Bartosz Wójcik
Hi CC, you can find a word about possible usage of functional programming in AI in following paper: http://www.cs.chalmers.se/~rjmh/Papers/whyfp.html . Besides in HackageDB you can find separate category AI. I had pleasure also to write an AI of simple game