Re: [Haskell-cafe] [Haskell Beginner] Compiling wxhaskell fails for me
Maybe you could try building it with 2.8 and let us know how it goes? -- _jsn ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] [Haskell Beginner] Compiling wxhaskell fails for me
Hi, On Wed, 30 Jul 2008 16:02:22 +0900, Jason Dusek [EMAIL PROTECTED] wrote: Maybe you could try building it with 2.8 and let us know how it goes? We are discussing his problem in wxhaskell-users mailing-list now. http://www.mail-archive.com/[EMAIL PROTECTED]/msg00488.html I send patch to fix that. And patch is already pushed in latest darcs repository. http://www.mail-archive.com/[EMAIL PROTECTED]/msg00224.html I'm waiting for his answer now. Best Regards, -- shelarcy shelarcyhotmail.co.jp http://page.freett.com/shelarcy/ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] [Haskell Beginner] Compiling wxhaskell fails for me
Hi, I try to build the current wxhaskell stuff from the darcs repository on the sh provided by msys with mingw32 (`uname -a' : MINGW32_NT-5.1 ... 1.0.11(0.46/3/2) 2007-01-12 12:05 i686 Msys), but it fails with the message `wx/graphics.h' isn't found, when it comes to build the wxc part. On the wxhaskell site they advice to use the 2.6.x version of the wxWidgets distribution, which I followed so far. The tool call which sets the wxversion variable (`wx-config --version') is executed and returns 2.6.4. The searched hosted graphics.h as I determined seems available as part of the 2.8.x version of wxwidgets at first. Now my question: Why does the build process search for it, especially how do I get it to succeed. Would I have to use the 2.8.x version against the recommendation? Has anyone of you successfully built the recommended version of the bindings, if yes - how? Could you share? Did I forget to build something on the wxwidgets side? Thank you so far Daniel. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] Haskell beginner
i want to start learning Haskell and willing to master it :-) i have done some Common Lisp from http://www.gigamonkeys.com/book/. so i know what are functions, variables, etc. BUT i have never done any real life programmming or any kind of software development. in my country no Haskell books are available :-( , hence i can only use online Tutorials. my main purpose is to learn real-life programming by contributing some Haskell coding to a GPLed Software written using Haskell. i have found Yet Another Haskell Tutorial after searching the archives. is it really a good idea to learn Haskell using only Online material ? (when one does not have any offline resources) -- http://arnuld.blogspot.com/ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Haskell beginner
Hi Arnuld, It's certainly possible. I'm new to the language too and learning it much the same way. It sounds like you don't have a lot of experience programming. I think this is an asset, not a liability. I would be interested in what concepts are the hardest to understand so the community can develop better tutorials for users without a lot of functional programming and abstract math background. On 3/15/07, arnuld [EMAIL PROTECTED] wrote: i want to start learning Haskell and willing to master it :-) i have done some Common Lisp from http://www.gigamonkeys.com/book/. so i know what are functions, variables, etc. BUT i have never done any real life programmming or any kind of software development. in my country no Haskell books are available :-( , hence i can only use online Tutorials. my main purpose is to learn real-life programming by contributing some Haskell coding to a GPLed Software written using Haskell. i have found Yet Another Haskell Tutorial after searching the archives. is it really a good idea to learn Haskell using only Online material ? (when one does not have any offline resources) -- http://arnuld.blogspot.com/ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Scott Williams ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Haskell beginner
Yet another Haskell Tutorial is the way I learned it. I find that subscribing to the mailing lists and reading the tutorial material is generally speaking enough. On Thursday 15 March 2007 14:30:03 arnuld wrote: i want to start learning Haskell and willing to master it :-) i have done some Common Lisp from http://www.gigamonkeys.com/book/. so i know what are functions, variables, etc. BUT i have never done any real life programmming or any kind of software development. in my country no Haskell books are available :-( , hence i can only use online Tutorials. my main purpose is to learn real-life programming by contributing some Haskell coding to a GPLed Software written using Haskell. i have found Yet Another Haskell Tutorial after searching the archives. is it really a good idea to learn Haskell using only Online material ? (when one does not have any offline resources) ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Haskell beginner
arnuld wrote: i want to start learning Haskell and willing to master it :-) Also check out the Wikibook at http://en.wikibooks.org/wiki/Programming:Haskell Do call back here if you need help. The Wikibook people would also appreciate feedback on what you found easy or difficult to understand. Paul. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Haskell beginner
On 3/15/07, arnuld [EMAIL PROTECTED] wrote: i want to start learning Haskell and willing to master it :-) i have done some Common Lisp from http://www.gigamonkeys.com/book/. so i know what are functions, variables, etc. BUT i have never done any real life programmming or any kind of software development. in my country no Haskell books are available :-( , hence i can only use online Tutorials. my main purpose is to learn real-life programming by contributing some Haskell coding to a GPLed Software written using Haskell. i have found Yet Another Haskell Tutorial after searching the archives. is it really a good idea to learn Haskell using only Online material ? (when one does not have any offline resources) Hang out in #haskell in IRC (freenode). That's probably the best resource you'll ever find when learning Haskell. So here's the strategy: 1. Read tutorials 2. When you get stuck, ask on #haskell 3. Goto 1 (yes I deliberately wrote an imperative algorithm using gotos to describe how to learn Haskell, and I found it amusing) -- Sebastian Sylvan +46(0)736-818655 UIN: 44640862 ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Haskell beginner
This is all a good idea, but I've found that I've never learned nearly as much as when I started bashing out some code. So I highly recommend starting up some project that's interesting to you too. Hang out in #haskell in IRC (freenode). That's probably the best resource you'll ever find when learning Haskell. So here's the strategy: 1. Read tutorials 2. When you get stuck, ask on #haskell 3. Goto 1 (yes I deliberately wrote an imperative algorithm using gotos to describe how to learn Haskell, and I found it amusing) -- Sebastian Sylvan +46(0)736-818655 UIN: 44640862 ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re[2]: [Haskell-cafe] Haskell beginner
Hello Sebastian, Friday, March 16, 2007, 12:15:09 AM, you wrote: So here's the strategy: 1. Read tutorials 2. When you get stuck, ask on #haskell 3. Goto 1 (yes I deliberately wrote an imperative algorithm using gotos to describe how to learn Haskell, and I found it amusing) knowledge - iterateM [read tutorial = ask_irc] -- Best regards, Bulatmailto:[EMAIL PROTECTED] ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Haskell beginner
Sebastian Sylvan wrote: So here's the strategy: 1. Read tutorials 2. When you get stuck, ask on #haskell 3. Goto 1 (yes I deliberately wrote an imperative algorithm using gotos to describe how to learn Haskell, and I found it amusing) It is just a standard transformation away from a politically correct description: Learn haskell by: 0. Read tutorials 1. When you get stuck, ask on #haskell 2. Learn haskell. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Haskell beginner questions
Cybertronic wrote: Hi all, I'm pretty much new to Haskell however I'm stuck on something which is that I'm trying to create a function called display where I type in a DVD name, e.g. dvd1, it returns d (String) and the multiplication of q (Int) and i (Double) Here's what I've done so far: type Film = (Int,String,Int,Double) dvd1 :: Film dvd1 = (1, Space, 5, 9.99) display :: Product - String display (c,d,q,i) = d My display function only shows the string but unfortunately I'm stuck on how to get the display function to multiply q (Int) and i (Double) together and display it next to d. Can someone help me out please? :) I'd recommend a tutorial like http://www.cs.utah.edu/~hal/docs/daume02yaht.pdf display :: Film - String display (c,d,q,i) = d ++ ++ show (fromIntegral q * i) q needs to be converted first and show will convert the result to a string. -- View this message in context: http://www.nabble.com/Haskell-beginner-questions-tf2500050.html#a6971248 Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe