Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Programming is fun

  1. #11
    Join Date
    Feb 2009
    Posts
    159
    Thanks
    60
    Thanked 3 Times in 3 Posts

    Default

    I don't know very much progamming but the little bit I do know. I agree that some times you just want to pull you hair out but hey that's the world of programming. It's got it's up's and it's got it's down's. But all in all it's a great felling when you get somthing to work for you. As for being adictive, not for me, just fun.

  2. #12
    Join Date
    Jun 2008
    Posts
    589
    Thanks
    13
    Thanked 54 Times in 54 Posts
    Blog Entries
    1

    Default ... ???

    @ Twey-

    I got Emacs, and I downloaded the Haskell compiler, but how do I compile my emacs' .hs file? I've Googled it and can't seem to find anything...

    thanks.

  3. #13
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    After saving your .hs file — doesn't matter how you generated it — run ghc --make <file>.hs -o new.exe at the shell to generate an executable called new.exe.

    You can work with the shell from within emacs by running M-x shell.
    Last edited by Twey; 03-05-2009 at 07:07 AM.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •