Re: [Haskell-cafe] Haskell Indonesia
Hi! I'm of Indonesian descent (by my mother) and I'll be there this summer. Nice to meet you! Jean-Denis 2010/6/15 vipex.id vipex...@gmail.com Hi, I'm new in Haskell wondering is there Indonesian people using Haskell here. Nice meet* you all :) Regards, vipex ___ 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: [Haskell-cafe] How does one get off haskell?
Maybe you should trying getting on Scala or Clojure projects ? Though they aren't many of them for now :( 2010/6/17 Günther Schmidt gue.schm...@web.de Hi list, I'm facing a really tough problem. About 3 years ago I stopped doing freelance and quite nicely paid projects in Java, PHP and C#. Now I'm dire straits, again, and need to get back into the project market which seems to have picked up again, quite a lot of projects out there and it looks like I could ask again for decent rates. (I personally call them compensation because I never ever enjoyed doing Java etc. but the money was good.) Anyway the problem is that I am totally reluctant to code in anything else but haskell. It has always been a problem to me getting up early in the morning, taking a train to work and coming back in the evening totally exhausted. But I think I could manage that again, at least for 3 or 6 months and then my bank account will be fine again and I can take it easy for another year or so. But this time all this is much harder. I really cannot see myself writing such huge amounts of code over and over again not doing much, well you know the story. BTW this is not meant as a fun post, I'm actually quite serious, ie. I need money, only way of getting it is doing Java, C# or PHP. So how does one get off haskell? Are there people in similar situations that have managed? How did you do it? Günther ___ 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: [Haskell-cafe] Re: libraries [was GUI haters]
I'm building a desktop application using Haskell for the logic and Qt/C++ for the GUI (the haskell source is foreign-exported into a shared library). It's been hard to pull off, but it works quite well when you get past the compilation issues. Question to the Mac users on the list: do you find that Qt applications feel native enough on your platform ? If not, any tips ? 2010/4/3 Heinrich Apfelmus apfel...@quantentunnel.de Michael Vanier wrote: aditya siram wrote: Yes Haskell is not strong on the GUI end of things but have you considered turning your desktop app into a web app? I've done this for a few things and really enjoyed the process. Haskell's STM is what makes this so nice. This is a great idea! IMO this is also one of the main ways that GUI-based apps are likely to evolve into in the future. Cross-platform GUIs are a pain in the butt in _any_ language (possibly excluding full language platforms like Java/.NET, and I'll bet even those were a nightmare for the original implementors). This is a bad idea! :) As a long term Mac user, I have a strong dislike for web applications that try to be desktop applications. Sagemath is probably an example in point. Not only are the well-designed standard GUI elements thrown out of the window (the menu bar, it belongs at the top), it's also sluggish to navigate between pages, doesn't support drag drop from other applications and most importantly, doesn't play nice with local files. From the programmers point of view, I don't want to code my GUI in Javascript either, I want to do it in Haskell. Regards, Heinrich Apfelmus -- http://apfelmus.nfshost.com ___ 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
[Haskell-cafe] Compiling a shared library on MacOS X
Hello, I'm using the following cabal file to build a shared library with ghc: Build-Type:Simple Executable libmylibrary.dll If os(windows) CPP-Options:-DWIN32 Extensions: ForeignFunctionInterface Build-Depends:... Main-Is: libmylibrary.hs Ghc-Options: -W --make -no-hs-main -optl-shared -optl-s -O2 The resulting library is called from a C++ graphical user interface (using Qt), which worked great so far on Windows and Linux. However, the compilation fails on MacOS X: Undefined symbols: _ZCMain_main_closure, referenced from: _ZCMain_main_closure$non_lazy_ptr in libHSrts.a(Main.o) ___stginit_ZCMain, referenced from: ___stginit_ZCMain$non_lazy_ptr in libHSrts.a(Main.o) ld: symbol(s) not found collect2: ld returned 1 exit status I don't know much about shared libraries, even less about them on MacOS X :( Any idea ? Jean-Denis Koeck ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] Re: Compiling a shared library on MacOS X
According to the manual, I have to use the -shared flag to compile a library. But I get the following error: link: GHC not built to link this way: LinkDynLib Guess I have to recompile ghc ! 2010/1/3 Jean-Denis Koeck jdko...@gmail.com Hello, I'm using the following cabal file to build a shared library with ghc: Build-Type:Simple Executable libmylibrary.dll If os(windows) CPP-Options:-DWIN32 Extensions: ForeignFunctionInterface Build-Depends:... Main-Is: libmylibrary.hs Ghc-Options: -W --make -no-hs-main -optl-shared -optl-s -O2 The resulting library is called from a C++ graphical user interface (using Qt), which worked great so far on Windows and Linux. However, the compilation fails on MacOS X: Undefined symbols: _ZCMain_main_closure, referenced from: _ZCMain_main_closure$non_lazy_ptr in libHSrts.a(Main.o) ___stginit_ZCMain, referenced from: ___stginit_ZCMain$non_lazy_ptr in libHSrts.a(Main.o) ld: symbol(s) not found collect2: ld returned 1 exit status I don't know much about shared libraries, even less about them on MacOS X :( Any idea ? Jean-Denis Koeck ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe