Re: [Haskell-cafe] plugins and cabal build

2011-04-26 Thread Andy Stewart
, but Andy Stewart might know (and I've CC'd him to this). Hi Ivan, sorry for late, too busy on Linux job. Yes, i have got hot-swap code work for Manatee (http://hackage.haskell.org/package/manatee) I used to use plugins, but i found it's buggy. So i use GHC-API wrote my own code at: https://patch

Re: [Haskell-cafe] Install GTK on Windows

2011-03-22 Thread Andy Stewart
Daniel Díaz danield...@asofilak.es writes: I have installed successfully the gtk package on Windows. GTK version: 2.16 gtk package version: 0.12.0 Haskell Platform version: 2010.2.0.0 I have detailed my steps (very similar to Mark Shroyer steps) here:

Re: [Haskell-cafe] Gtk2hs multiple column TreeView with ListStore issue

2011-03-20 Thread Andy Stewart
Hi Кирилл, Here have a simplest code at http://code.haskell.org/gtk2hs/gtk/demo/treelist/ListDemo.hs Cheers, -- Andy PS: All gtk2hs user, it's always best choose to read source code of demo when you don't know how to fix some problem. Demo has include in Cabal package. Example,

Re: [Haskell-cafe] Gtk2hs multiple column TreeView with ListStore issue

2011-03-20 Thread Andy Stewart
Andy Stewart lazycat.mana...@gmail.com writes: Hi Кирилл, Here have a simplest code at http://code.haskell.org/gtk2hs/gtk/demo/treelist/ListDemo.hs Cheers, -- Andy PS: All gtk2hs user, it's always best choose to read source code of demo when you don't know how to fix some

Re: [Haskell-cafe] How large is the Haskell community ?

2011-03-17 Thread Andy Stewart
On Sat, Feb 12, 2011 at 6:57 PM, Jan Christiansen j...@informatik.uni-kiel.de wrote: On 12.02.2011, at 21:18, Aaron Gray wrote: I was wondering if anyone had an idea or estimate as to how large the Haskell community is ? All the answers made me wonder what the criterion

Re: [Haskell-cafe] Install GTK on Windows

2011-02-25 Thread Andy Stewart
Hi Daniel, Gtk2hs site is down by move server, sadly. The document on http://www.haskell.org/haskellwiki/Gtk2Hs is wrong. http://markshroyer.com/2010/10/gtk2hs-on-windows/ is right. From your error, you missing C libraries that gtk2hs need, or you have install GTK+ C library, but gtk2hs can't

Re: [Haskell-cafe] plugins and internal error: stg_ap_v_ret

2011-02-01 Thread Andy Stewart
:22 AM, Andy Stewart lazycat.mana...@gmail.com wrote: Hi Michael, plugins use it's own function instead GHC API, so it's easy to break with new version GHC.  -- Andy Michael Snoyman mich...@snoyman.com writes: Hi all, I'm trying to convert wai-handler-devel to use plugins instead

Re: [Haskell-cafe] plugins and internal error: stg_ap_v_ret

2011-02-01 Thread Andy Stewart
, 2011 at 1:15 PM, Andy Stewart lazycat.mana...@gmail.com wrote: Hi Michael, I have write some dynamic-loading code for my Manatee project (http://hackage.haskell.org/package/manatee) Dynload.hs use GHC API, if you interested it, you can read source code: https://patch-tag.com/r/AndyStewart

Re: [Haskell-cafe] plugins and internal error: stg_ap_v_ret

2011-01-31 Thread Andy Stewart
Hi Michael, plugins use it's own function instead GHC API, so it's easy to break with new version GHC. -- Andy Michael Snoyman mich...@snoyman.com writes: Hi all, I'm trying to convert wai-handler-devel to use plugins instead of hint, but cannot even get some basic usages to work

[Haskell-cafe] Manatee-0.1.8 release!

2011-01-12 Thread Andy Stewart
Hi all, Manatee-0.1.8 release! New features in manatee-0.1.8: * Manatee now can works in XMonad * Use Ping/Pong solution fix immortal render process when daemon process killed by user forcely. * Move message/status update code to extension space. * File manager can monitor file change

[Haskell-cafe] Join Manatee Team!

2011-01-10 Thread Andy Stewart
Hi all, I'm Andy, the author of Manatee ( http://haskell.org/haskellwiki/Manatee ). You can watch video http://www.youtube.com/watch?v=weS6zys3U8k (or http://www.youtube.com/watch?v=A3DgKDVkyeM ) to understand What is it? . :) Manatee is Haskell integrated environment written in Haskell.

Re: [Haskell-cafe] Join Manatee Team!

2011-01-10 Thread Andy Stewart
. The exception was: exit: ExitFailure 1 -deech On Mon, Jan 10, 2011 at 7:45 PM, Andy Stewart lazycat.mana...@gmail.com wrote: Hi all, I'm Andy, the author of Manatee ( http://haskell.org/haskellwiki/Manatee ). You can watch video  http://www.youtube.com/watch?v=weS6zys3U8k  (or http

Re: [Haskell-cafe] Join Manatee Team!

2011-01-10 Thread Andy Stewart
-data-0.5.0.2 happstack-state-0.5.0.4 ghc --version The Glorious Glasgow Haskell Compilation System, version 6.12.3 -deech On Mon, Jan 10, 2011 at 8:40 PM, Andy Stewart lazycat.mana...@gmail.com wrote: Hi aditya, What's the result of command ghc-pkg check? And which GHC version do you

[Haskell-cafe] How to write Manatee application?

2011-01-02 Thread Andy Stewart
Hi all, How to write Manatee extension? Now have answer: Please look http://www.flickr.com/photos/48809...@n02/5031811365/lightbox/ to understand framework before continue. Template code at http://hackage.haskell.org/package/manatee-template First, i explain Manatee package hierarchy:

[Haskell-cafe] Manatee-0.1.6 release!

2010-12-29 Thread Andy Stewart
Hi all, Manatee-0.1.6 release, sorry for late, I was tired of the many trivial this month. http://www.youtube.com/watch?v=weS6zys3U8k hackage.haskell.org/package/manatee New version Manatee support customize and hot-swap, like elisp for Emacs, but much much fast and safe. Please look

[Haskell-cafe] How to reload module that package has linked in memory?

2010-12-25 Thread Andy Stewart
Hi all, I'm working on how to dynamic loading library into *running* program. I can dynamic loading/update module into *running* program if have *new* package installed. Example, when program *startup* and loading package foo-0.0.1 with function : api :: String - String api =

Re: [Haskell-cafe] How to reload module that package has linked in memory?

2010-12-25 Thread Andy Stewart
Hi Albert, Thanks for reply! Albert Y. C. Lai tre...@vex.net writes: On 10-12-25 10:47 AM, Andy Stewart wrote: I use Linker.linkPackages and Linker.getHValue to get symbol value, but looks Linker.getHValue can't get *update* value once current package has linked in memory. So how to make

[Haskell-cafe] Looking for Haskell job at China.

2010-12-17 Thread Andy Stewart
Hi all, I'm a Chinese haskeller, i'm looking for haskell job at *China*. Please contact me if any Chinese company interested me. Below is my skills: * Java : (2007-06 ~ 2008-09) Worked on a variety of commercial J2ME games, masterpiece Machine King : http://goo.gl/lcJF *

Re: [Haskell-cafe] ANNOUNCE: mime-mail 0.1.0

2010-12-08 Thread Andy Stewart
Michael Snoyman mich...@snoyman.com writes: Hi all (again), I'm happy to announce the second major release of the mime-mail[1] package. mime-mail is a package providing support for rendering multipart emails. This new release introduces: * A partHeaders record, allowing you to place

Re: [Haskell-cafe] Manatee Video.

2010-12-02 Thread Andy Stewart
content/sound track is not available in every country... meaning youtube prohibits viewing your video. On 28 Nov., 17:30, Andy Stewart lazycat.mana...@gmail.com wrote: Hi all, Many people ask What's Manatee? A video worth a thousand words : here is video (select 720p HD)http://www.youtube.com

Re: [Haskell-cafe] Manatee Video.

2010-11-30 Thread Andy Stewart
content/sound track is not available in every country... meaning youtube prohibits viewing your video. On 28 Nov., 17:30, Andy Stewart lazycat.mana...@gmail.com wrote: Hi all, Many people ask What's Manatee? A video worth a thousand words : here is video (select 720p HD)http

Re: [Haskell-cafe] Manatee Video.

2010-11-30 Thread Andy Stewart
.115cdn.com/pickdown/11fec1f2ed229257059e426ab3c259714cf52117/M00/34/92/cWmqJkzxczoAFibVVCN3Gk04038387/Manatee.avi?file=Manatee.avikey1=4cf504f7key2=3131332e37382e35302e323433 Thanks for your suggestion. :) -- Andy On 28 Nov., 17:30, Andy Stewart lazycat.mana...@gmail.com wrote: Hi all, Many

Re: [Haskell-cafe] Manatee Video.

2010-11-30 Thread Andy Stewart
/photos/48809...@n02/5031811365/lightbox/ -- Andy On 30 Nov., 15:10, Andy Stewart lazycat.mana...@gmail.com wrote: steffen steffen.sier...@googlemail.com writes: Hi Andy, Can you please do something about the sound track? Loads of people are not able to view your video, because the used

[Haskell-cafe] Manatee Video.

2010-11-28 Thread Andy Stewart
Hi all, Many people ask What's Manatee? A video worth a thousand words : here is video (select 720p HD) http://www.youtube.com/watch?v=weS6zys3U8k And i think the correct answer to What's Manatee? should be : Depend on you how to use it. :) Other information look :

Re: [Haskell-cafe] Re: Manatee - The Haskell/Gtk+ Integrated Live Environment first version release!

2010-11-12 Thread Andy Stewart
Hi Karel, I think is your cabal too old BTW, i suggest install GHC-6.12.3 with gtk2hs-0.12.0 and manatee. -- Andy Karel Gardas karel.gar...@centrum.cz writes: On 11/12/10 04:37, Andy Stewart wrote: Hi all, I have write Simple Manual at http://haskell.org/haskellwiki/Manatee Enjoy

[Haskell-cafe] Re: Manatee - The Haskell/Gtk+ Integrated Live Environment first version release!

2010-11-11 Thread Andy Stewart
Hi all, I have write Simple Manual at http://haskell.org/haskellwiki/Manatee Enjoy! :) -- Andy Andy Stewart lazycat.mana...@gmail.com writes: Hi all, I am proud to announce the release my gtk2hs project : Manatee - The Haskell/Gtk+ Integrated Live Environment http

[Haskell-cafe] Re: Manatee - The Haskell/Gtk+ Integrated Live Environment first version release!

2010-11-11 Thread Andy Stewart
: 457 Process Manager : 761 RSS/Atom reader : 893 -- Andy Andy Stewart lazycat.mana...@gmail.com writes: Hi all, I am proud to announce the release my gtk2hs project : Manatee - The Haskell/Gtk+ Integrated Live Environment http://hackage.haskell.org

Re: [Haskell-cafe] Re: Manatee - The Haskell/Gtk+ Integrated Live Environment first version release!

2010-11-11 Thread Andy Stewart
David Leimbach leim...@gmail.com writes: Wow! Is this just for Linux or is anyone able to run it on Mac OS X? I don't know whether can work on Mac. I design it for Linux. -- Andy Dave On Thu, Nov 11, 2010 at 7:51 PM, Andy Stewart lazycat.mana...@gmail.com wrote: My project

[Haskell-cafe] Manatee - The Haskell/Gtk+ Integrated Live Environment first version release!

2010-11-10 Thread Andy Stewart
Hi all, I am proud to announce the release my gtk2hs project : Manatee - The Haskell/Gtk+ Integrated Live Environment http://hackage.haskell.org/package/manatee Screenshots at : http:goo.gl/MkVw Code at https://patch-tag.com/r/AndyStewart/ beginning with manatee-* Manatee is Haskell

Re: [Haskell-cafe] Re: Does it deserve to be a hackage package?

2010-10-28 Thread Andy Stewart
Dmitry V'yal akam...@gmail.com writes: On 27.10.2010 13:16, Andy Stewart wrote: Christopher Donechrisd...@googlemail.com writes: On 27 October 2010 10:13, Dmitry V'yalakam...@gmail.com wrote: While ago I had a question about opening the url in the default browser from haskell program. I

Re: [Haskell-cafe] Help me TH code.

2010-10-27 Thread Andy Stewart
Serguey Zefirov sergu...@gmail.com writes: 2010/10/27 Andy Stewart lazycat.mana...@gmail.com: Hi all, I want use TH write some function like below:  data DataType = StringT                | IntT                | CharT  parse :: [(String,DataType)] - (TypeA, TypeB, ... TypeN) Example

[Haskell-cafe] Re: Does it deserve to be a hackage package?

2010-10-27 Thread Andy Stewart
Christopher Done chrisd...@googlemail.com writes: On 27 October 2010 10:13, Dmitry V'yal akam...@gmail.com wrote: While ago I had a question about opening the url in the default browser from haskell program. I didn't get any immediate answers so I wrote my own solution. On Linux it uses

[Haskell-cafe] Re: Haskell and a complete mail client lib?

2010-10-27 Thread Andy Stewart
Günther Schmidt gue.schm...@web.de writes: Hi all, do we Haskellers have a complete Mail client library? One that goes beyond an unstructured byte string? I want mail-client library too, for my gtk2hs project (http://www.flickr.com/photos/48809...@n02/) If still haven't complete mail-client

[Haskell-cafe] Help me TH code.

2010-10-26 Thread Andy Stewart
Hi all, I want use TH write some function like below: data DataType = StringT | IntT | CharT parse :: [(String,DataType)] - (TypeA, TypeB, ... TypeN) Example: parse [(string, StringT), (001, IntT), (c, CharT)] will return: (string, 001, 'c') So how

Re: [Haskell-cafe] Redy to release gtk2hs-0.12.0!

2010-10-23 Thread Andy Stewart
Felipe Lessa felipe.le...@gmail.com writes: Great! What's new in 0.12.0? I don't see a NEWS file and the ChangeLog is old. Use command darcs changes see detail. The NEWS in gtk2hs-0.12.0 : * Support all APIs from GTK+2.8 ~ GTK+2.22 Look http://www.gtk.org/language-bindings.html Of

[Haskell-cafe] Redy to release gtk2hs-0.12.0!

2010-10-22 Thread Andy Stewart
Dear gtk2hs user: We have ready to release next version : gtk2hs-0.12.0 Please pull gtk2hs darcs to test, if no bug report, we will release. You can use below commands (Debian) to install gtk2hs darcs: darcs get --lazy http://code.haskell.org/gtk2hs/ cd ./gtk2hs sudo chmod +x

[Haskell-cafe] Re: hs-plugins and memory leaks

2010-10-20 Thread Andy Stewart
Hi Evan, Evan Laforge qdun...@gmail.com writes: So my questions are: Why did lambdabot and yi abandon plugins? Because it was unmaintained for around 5 years, and was fundamentally less portable than simpler state serialization solutions that offered some of the same benefits as full code

Re: [Haskell-cafe] Re: hs-plugins and memory leaks

2010-10-20 Thread Andy Stewart
Evan Laforge qdun...@gmail.com writes: Last, i remove pdynload code from my project temporary with below reasons: 1) Hold running state is difficult, like network state in browser or running state in terminal emulator. This doesn't seem too hard to me. Provided you are not swapping the

[Haskell-cafe] Re: Opening a gtk2hs link in default browser

2010-10-17 Thread Andy Stewart
Hi Dmitry, Dmitry V'yal akam...@gmail.com writes: Hello list, I'm trying to make a clickable link in gtk2hs program. Clicking it should open an url in the default browser. Can I hope to find some portable solution in gtk2hs (it should work in linux and windows) or should I start

Re: [Haskell-cafe] How to fix undefined reference error with getDataDir?

2010-10-13 Thread Andy Stewart
Henning Thielemann schlepp...@henning-thielemann.de writes: Andy Stewart schrieb: Hi all, I have two package A and B, and B depend A. I use below code snippets in package A: -- code start -- ... import Paths_manatee_ircclient

[Haskell-cafe] How to fix undefined reference error with getDataDir?

2010-10-11 Thread Andy Stewart
for package A: -- A.cabal start -- name: manatee-ircclient version:0.0.1 Cabal-Version: = 1.6 license:GPL-3 license-file: LICENSE copyright: (c) 2009 ~ 2010 Andy Stewart synopsis

[Haskell-cafe] Help us test gtk2hs darcs!

2010-09-27 Thread Andy Stewart
Hi all, We have add many APIs in gtk2hs darcs, and ready to release gtk2hs-0.12.0 Please help us test gtk2hs darcs, we can fix it before release gtk2hs-0.12.0 You can get gtk2hs darcs with below command: darcs get code.haskell.org/gtk2hs Please send any bug report to

[Haskell-cafe] Update gtk2hs!

2010-09-06 Thread Andy Stewart
Hi all, I'm working on update gtk2hs APIs. 'gio' has update to newest version, all patches has push to repo, i need more test before release gio-0.12.0 About `gtk` packages, i have push some gtk+-2.18/gtk+-2.20 patches to repo but not all, i plan finish all APIs before release gtk-0.12.0. If

[Haskell-cafe] GtkImageView release!

2010-08-20 Thread Andy Stewart
Hi all, I have release gtkimageview, it's a Gtk APIs for build image viewer. Here is screenshot : http://www.flickr.com/photos/48809...@n02/4909785139/ You can click right-bottom to popup navigate window to drag area in image. Here is demo :

[Haskell-cafe] Help us test gio APIs!

2010-08-15 Thread Andy Stewart
Hi all, I'm working on merge gio-branch (https://patch-tag.com/r/AndyStewart/gio-branch/home) to gtk2hs-0.12.0. GIO (http://library.gnome.org/devel/gio/stable/) is cross-platform APIs for file operation, we can use gio APIs develop file manager or similar application. If anyone want to use

[Haskell-cafe] Re: gtk2hs with old gtk2

2010-08-14 Thread Andy Stewart
Johannes Waldmann waldm...@imn.htwk-leipzig.de writes: Andy Stewart lazycat.manatee at gmail.com writes: Just cabal install is enough. Hm. That's what bootstrap.sh does, and it builds tools, then glib, but then: Preprocessing library gio-0.11.0... gtk2hsC2hs: Errors during expansion

[Haskell-cafe] Re: gtk2hs with old gtk2

2010-08-13 Thread Andy Stewart
Johannes Waldmann waldm...@imn.htwk-leipzig.de writes: I'm trying to build gtk2hs on debian/lenny, that is, with gtk2 v. 2.12 if I understand this correctly. I got the gtk2hs sources from darcs (I guess it's 0.11.0) and http://www.haskell.org/gtk2hs/ says You need to specify -f-gtk_2_20 for

[Haskell-cafe] Re: gkt2hs seg fault issue

2010-08-09 Thread Andy Stewart
bri...@aracnet.com writes: On Mon, 09 Aug 2010 11:09:40 +0800 Andy Stewart lazycat.mana...@gmail.com wrote: Ivan Lazar Miljenovic ivan.miljeno...@gmail.com writes: On 9 August 2010 09:44, Andy Stewart lazycat.mana...@gmail.com wrote: Which ghc version? The Glorious Glasgow Haskell

[Haskell-cafe] Re: Combining Gtk2hs and Fieldtrip

2010-08-08 Thread Andy Stewart
Hi Herng, You can use gtk2hs with OpenGL, then use OpenGL render your 3D graphics. You can use command cabal install install gtkglext to try it, demo at http://code.haskell.org/gtkglext/demo/ About multi-threaded, yes, you must post all *gtk* code to gtk+ main thread, otherwise bad thing

[Haskell-cafe] Re: gkt2hs seg fault issue

2010-08-08 Thread Andy Stewart
Which ghc version? It's have a bug in ghc-6.12 that cause gtk2hs segment fault. If you use other ghc version, you should use gdb run your program to get backtrace, then we can help you. Cheers, -- Andy bri...@aracnet.com writes: I reported a seg-fault in chart a while back. so I was

Re: [Haskell-cafe] Re: gkt2hs seg fault issue

2010-08-08 Thread Andy Stewart
Ivan Lazar Miljenovic ivan.miljeno...@gmail.com writes: On 9 August 2010 09:44, Andy Stewart lazycat.mana...@gmail.com wrote: Which ghc version? It's have a bug in ghc-6.12 that cause gtk2hs segment fault. If memory serves, that bug was only present in 6.12.2... Yes, typo, it's a bug of ghc

Re: [Haskell-cafe] Please report any bug of gtk2hs-0.11.0!

2010-07-26 Thread Andy Stewart
Sebastian Fischer s...@informatik.uni-kiel.de writes: Hello, On Jul 13, 2010, at 9:15 AM, Andy Stewart wrote: Please report any bug of gtk2hs-0.11.0, we will fix it before release gtk2hs-0.11.1 I have just installed the new Haskell Platform under Mac OS X 10.5. With the previous

Re: [Haskell-cafe] Re: Problem with reloading modules in GHC API

2010-07-20 Thread Andy Stewart
for GHCi isn't so accessible... Thanks! If you want dynamic evaluation, you can try hint : Runtime Haskell interpreter (GHC API wrapper) At http://hackage.haskell.org/package/hint Cheers, -- Andy On Tue, Jul 20, 2010 at 1:01 AM, Andy Stewart lazycat.mana...@gmail.com wrote: Hi

[Haskell-cafe] Re: qtHaskell

2010-07-19 Thread Andy Stewart
Hi Ali, Ali Razavi ali.raz...@gmail.com writes: Greetings,  I have only used the wxHaskell library before, but I am looking into trying one of these more advanced' frameworks. To serve my proclivity for QT, I would like to know how its Haskell binding, qtHaskell, compares to that of

[Haskell-cafe] Re: Problem with reloading modules in GHC API

2010-07-19 Thread Andy Stewart
Hi Hongmin, I think you're looking for how to hot-swap Haskell program. There are two approach to reach target: 1) Source-Code level: Recompile source code to build new execute cache file, if re-compile successful, use executeFile to switch new entry. You perhaps need use Binary

[Haskell-cafe] Re: Hot-Swap with Haskell

2010-07-16 Thread Andy Stewart
script job. But i'm afraid haskell interpreter is slow for *large code*, i don't know, i haven't try this way... Thanks for your suggestion, i will consider it. -- Andy have fun martin [1]: http://hackage.haskell.org/package/hint On 16.07.2010 06:06, Andy Stewart wrote: Don Stewartd

Re: [Haskell-cafe] Hot-Swap with Haskell

2010-07-16 Thread Andy Stewart
On 16 July 2010 04:05, Andy Stewart lazycat.mana...@gmail.com wrote: Hi all, I'm research to build a hot-swap Haskell program to developing itself in Runtime, like Emacs. Essentially, Yi/Xmonad/dyre solution is replace currently executing technology:   re-compile new code with new

Re: [Haskell-cafe] Hot-Swap with Haskell

2010-07-16 Thread Andy Stewart
Bartek Ćwikłowski paczesi...@gmail.com writes: Hello Andy, 2010/7/16 Andy Stewart lazycat.mana...@gmail.com: There are some problems with re-compile solution: 1) You can't save *all* state with some FFI code, such as gtk2hs, you can't save state of GTK+ widget. You will lost some state

[Haskell-cafe] Hot-Swap with Haskell

2010-07-15 Thread Andy Stewart
Hi all, I'm research to build a hot-swap Haskell program to developing itself in Runtime, like Emacs. Essentially, Yi/Xmonad/dyre solution is replace currently executing technology: re-compile new code with new binary entry when re-compile success $ do save state

[Haskell-cafe] Re: Hot-Swap with Haskell

2010-07-15 Thread Andy Stewart
Don Stewart d...@galois.com writes: lazycat.manatee: Hi all, I'm research to build a hot-swap Haskell program to developing itself in Runtime, like Emacs. Essentially, Yi/Xmonad/dyre solution is replace currently executing technology: re-compile new code with new binary entry

[Haskell-cafe] Re: Please report any bug of gtk2hs-0.11.0!

2010-07-14 Thread Andy Stewart
On Tue, 13 Jul 2010 11:42:26 +0200 Christian Maeder christian.mae...@dfki.de wrote: Andy Stewart schrieb: Hi all, We plan to release bug fix version : gtk2hs-0.11.1 Please report any bug of gtk2hs-0.11.0, we will fix it before release gtk2hs-0.11.1 I'm looking forward for this bug

[Haskell-cafe] Please report any bug of gtk2hs-0.11.0!

2010-07-13 Thread Andy Stewart
Hi all, We plan to release bug fix version : gtk2hs-0.11.1 Please report any bug of gtk2hs-0.11.0, we will fix it before release gtk2hs-0.11.1 We plan to add many new APIs in gtk2hs-0.12.0, so gtk2hs-0.11.1 will be the last stable version with current APIs. Thanks for your help! -- Andy

[Haskell-cafe] ghc-6.12 can't works with Cabal-1.8.0.4?

2010-07-12 Thread Andy Stewart
-- Name: poppler Version:0.11.1 License:GPL-2 License-file: COPYING Copyright: (c) 2001-2010 The Gtk2Hs Team Author: Andy Stewart Maintainer: gtk2hs-us...@sourceforge.net Build-Type: Custom Cabal-Version: = 1.6 Stability: stable homepage

Re: [Haskell-cafe] Re: Fix plugins package.

2010-07-10 Thread Andy Stewart
Yuras Shumovich shumovi...@gmail.com writes: src/System/Plugins/Process.hs:59:4:     Warning: A do-notation statement discarded a result of type GHC.Conc.ThreadId.              Suppress this warning by saying _ - forkIO                                                      (()              

Re: [Haskell-cafe] Re: Fix plugins package.

2010-07-10 Thread Andy Stewart
Yuras Shumovich shumovi...@gmail.com writes: Another error : -- error start -- Preprocessing library plugins-1.4.1... Building plugins-1.4.1... [ 7 of 15] Compiling System.Plugins.Env ( src/System/Plugins/Env.hs,

Re: [Haskell-cafe] Re: Fix plugins package.

2010-07-10 Thread Andy Stewart
Yuras Shumovich shumovi...@gmail.com writes: I got another error: -- error start -- [ 8 of 15] Compiling System.MkTemp    ( src/System/MkTemp.hs, dist/build/System/MkTemp.o ) src/System/MkTemp.hs:214:26:    Couldn't match expected

[Haskell-cafe] Fix plugins package.

2010-07-09 Thread Andy Stewart
Hi all, I want to use *plugins* package (http://hackage.haskell.org/package/plugins-1.4.1) Unfortunately, it looks broken. Anybody can fix it? Thanks, -- Andy ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Fix plugins package.

2010-07-09 Thread Andy Stewart
Hi Ivan, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com writes: Andy Stewart lazycat.mana...@gmail.com writes: Hi all, I want to use *plugins* package (http://hackage.haskell.org/package/plugins-1.4.1) Unfortunately, it looks broken. Anybody can fix it? Try putting an upper bound

[Haskell-cafe] Re: Fix plugins package.

2010-07-09 Thread Andy Stewart
Andy Stewart lazycat.mana...@gmail.com writes: Hi Ivan, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com writes: Andy Stewart lazycat.mana...@gmail.com writes: Hi all, I want to use *plugins* package (http://hackage.haskell.org/package/plugins-1.4.1) Unfortunately, it looks broken

[Haskell-cafe] Re: Are you a Haskell expert? [How easy is it to hire Haskell programmers]

2010-07-03 Thread Andy Stewart
Andrew Coppin andrewcop...@btinternet.com writes: Don Stewart wrote: So I guess that means that I don't count as a knowledgable Haskell programmer. :-( RWH is free and online, and covers many useful things. There's no excuse :-) I was about to say yeah, but RWH isn't

[Haskell-cafe] Re: Are you a Haskell expert? [How easy is it to hire Haskell programmers]

2010-07-03 Thread Andy Stewart
Brandon S Allbery KF8NH allb...@ece.cmu.edu writes: On 7/3/10 05:57 , Andrew Coppin wrote: Agreed. So let me rephrase: Why should _every_ Haskell library involve C? ;-) Who says they do, or should? AFAIK it's only done for the reasons I mentioned (or, sometimes, for library compatibility; a

[Haskell-cafe] Read Instance code.

2010-07-03 Thread Andy Stewart
Hi all, I have some incorrect Read instance make i got error Prelude.read: no parse, and i don't know how to fix it. -- code start -- newtype SerializedWindow = SerializedWindow (Maybe DrawWindow) instance Show SerializedWindow where

[Haskell-cafe] Re: Read Instance code.

2010-07-03 Thread Andy Stewart
Ivan Lazar Miljenovic ivan.miljeno...@gmail.com writes: Andy Stewart lazycat.mana...@gmail.com writes: Hi all, I have some incorrect Read instance make i got error Prelude.read: no parse, and i don't know how to fix it. newtype SerializedWindow = SerializedWindow (Maybe DrawWindow

[Haskell-cafe] Re: Read Instance code.

2010-07-03 Thread Andy Stewart
Andy Stewart lazycat.mana...@gmail.com writes: Ivan Lazar Miljenovic ivan.miljeno...@gmail.com writes: Andy Stewart lazycat.mana...@gmail.com writes: Hi all, I have some incorrect Read instance make i got error Prelude.read: no parse, and i don't know how to fix it. newtype

[Haskell-cafe] TH instance code.

2010-06-22 Thread Andy Stewart
Hi all, I have below duplicate code, but i don't know how to use TH instance code. -- duplicate code start -- instance Variable PageType where toVariant = toVariant . show fromVariant x = fmap (\v - read v :: PageType) $

Re: [Haskell-cafe] TH instance code.

2010-06-22 Thread Andy Stewart
    toVariant = toVariant . show     fromVariant x = fmap (\v - read v :: $_t) $ fromVariant x|] deriveVariable (conT ''PageType) deriveVariable (conT ''Int) deriveVariable (conT ''Maybe `appT` conT ''Char) ... On Tue, Jun 22, 2010 at 11:24 AM, Andy Stewart lazycat.mana

[Haskell-cafe] Re: How does one get off haskell?

2010-06-18 Thread Andy Stewart
Edward Z. Yang ezy...@mit.edu writes: Excerpts from Bryan O'Sullivan's message of Fri Jun 18 13:16:58 -0400 2010: I'm inclined to disagree. It's precisely when the code is in a state of constant upheaval that I want the type system to be pointing out my dumb errors. In my experience, the

[Haskell-cafe] Re: Unicode vs. System.Directory

2010-05-27 Thread Andy Stewart
Hi Arie, If you don't mind binding code. You can try to use GIO APIs from my repository: http://patch-tag.com/r/AndyStewart/gio-branch/home GIO APIs handle unicode filename every well, and cross-platform. Cheers, -- Andy Arie Peterson ar...@xs4all.nl writes: After upgrading to

[Haskell-cafe] Mirror repository for gtk2hs

2010-05-07 Thread Andy Stewart
Hi all, Because code.haskell.org is unstable recently, and many gtk2hs users can't get code from http://code.haskell.org/gtk2hs So i build a mirror repository at http://patch-tag.com/r/AndyStewart/gtk2hs-sync-mirror/home You can access this mirror repository when code.haskell.org down. This

[Haskell-cafe] Re: Haskell and scripting

2010-05-07 Thread Andy Stewart
Daniel Fischer daniel.is.fisc...@web.de writes: On Wednesday 05 May 2010 23:36:26, Limestraël wrote: but you will not object if I say that scheme is quicker to learn than Haskell. Well, I do object. Learning Haskell went like a breeze (not to perfection, but well enough). Only Python was

[Haskell-cafe] Re: nun.haskell.org http services down?

2010-05-06 Thread Andy Stewart
Ivan Lazar Miljenovic ivan.miljeno...@gmail.com writes: Erik de Castro Lopo mle...@mega-nerd.com writes: Jens Petersen wrote: http://{code,community,projects}.haskell..org/ seem to be inaccessible. Could someone please look into it? For me, it seems to be down everyday around 5-6pm

[Haskell-cafe] Re: gtk2hs for 2010.1.0.0

2010-05-03 Thread Andy Stewart
Hi Maciej, Maciej Piechotka uzytkown...@gmail.com writes: On Mon, 2010-05-03 at 19:21 +0100, Maciej Piechotka wrote: Does anyone have installer for gtk2hs for Haskell Platform 2010.1.0.0? Regards ___ Haskell-Cafe mailing list

[Haskell-cafe] Re: gtk2hs for 2010.1.0.0

2010-05-03 Thread Andy Stewart
Hi Ivan, Ivan Miljenovic ivan.miljeno...@gmail.com writes: On 4 May 2010 04:21, Maciej Piechotka uzytkown...@gmail.com wrote: Does anyone have installer for gtk2hs for Haskell Platform 2010.1.0.0? Considering that there is as yet no release of gtk2hs that supports GHC-6.12.*, it seems

[Haskell-cafe] Why haskell.org down again?

2010-04-09 Thread Andy Stewart
Hi all, haskell.org down again? Hardware not stable? Attack? Can't we avoid haskell.org off? -- Andy ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Finish Gtk2hs APIs update!

2010-04-05 Thread Andy Stewart
Hi all, After two weeks work, i have finish update Gtk2hs APIs to Gtk+2.18.3! Gdk and Pango APIs have update to newest version. Please report any problem to gtk2hs mail-list, we can fix it as soon as we can. Below is libraries that gtk2hs support: - libraries list start

[Haskell-cafe] Re: Haskellers hate GUIs!!

2010-04-02 Thread Andy Stewart
Hi Jürgen, For GHC-6.12, just darcs version support. So please download darcs version. Axel has working on that make gtk2hs build on cabal. And i'm working on update All gtk2hs API to Gtk+ 2.18.3 (have finish 99%), i can finish all APIs in later days. Axel have finish some sub-modules on

[Haskell-cafe] Re: Asynchronous exception wormholes kill modularity

2010-03-29 Thread Andy Stewart
Simon Marlow marlo...@gmail.com writes: On 26/03/2010 19:51, Isaac Dupree wrote: On 03/25/10 12:36, Simon Marlow wrote: I'd also be amenable to having block/unblock count nesting levels instead, I don't think it would be too hard to implement and it wouldn't require any changes at the

[Haskell-cafe] Re: gtk2hs gtkbuilder

2010-03-14 Thread Andy Stewart
Andrew U. Frank fr...@geoinfo.tuwien.ac.at writes: i currently use gtk2hs with libglade (and glade). i understand that the gtkbuilder allows more constructs than libglade. how to use gtkbuilder in gtk2hs? i see that John Millikin has posted a patch for gtk2hs - but i cannot find it and no

[Haskell-cafe] Re: What's wrong with code.haskell.org ?

2009-11-22 Thread Andy Stewart
Svein Ove Aas svein@aas.no writes: On Sun, Nov 22, 2009 at 4:39 AM, John Millikin jmilli...@gmail.com wrote: code.h.o and community.h.o have rather flaky hosting, and have been going down often recently. The only solution seems to be waiting until the admins notice. They have hardware

[Haskell-cafe] What's wrong with code.haskell.org ?

2009-11-21 Thread Andy Stewart
Hi all, I can't use `darcs get --partial http://code.haskell.org/gtk2hs/` to get source code, and can't push patch. What's wrong with code.haskell.org? Rest for weekend? :) -- Andy ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

[Haskell-cafe] How to update SSH key in code.haskell.org

2009-11-16 Thread Andy Stewart
Hi all. I'm a developer of gtk2hs project at code.haskell.org But i found i lost my SSH key when i update new system, and i can't push patch to gtk2hs. I have send mail to supp...@community.haskell.org for this problem, but i'm not sure that's the right place. So how to update SSH key with my

[Haskell-cafe] Re: Problem about hidden package again.

2009-11-12 Thread Andy Stewart
Magicloud Magiclouds magicloud.magiclo...@gmail.com writes: Just joking. But still, since gtk2hs still using the configure/make way, it is complex to add another option to the system. I tried to add array to build-depends of Cairo.cabal, no luck. Yes, it's not handy that gtk2hs can't use

[Haskell-cafe] Re: Long running Haskell program

2009-11-11 Thread Andy Stewart
David Leimbach leim...@gmail.com writes: As some of you may know, I've been writing commercial Haskell code for a little bit here (about a year and a half) and I've just recently had to write some code that was going to run have to run for a really long time before being restarted,

[Haskell-cafe] Re: Help me improve design of my project.

2009-10-23 Thread Andy Stewart
Andy Stewart lazycat.mana...@gmail.com writes: Hi all, Okay, question is, IORefObject module and most module reference each other, so i will got `recursive reference problem` (looks how many .hs-boot in my project). Current version compile fine. The key is design of IORefObject, It's too

[Haskell-cafe] Some question about c2hs.

2009-09-16 Thread Andy Stewart
Hi all, I try to binding Haskell to VTE library. Below are Vte.chs file i wrote. Vte.chs Description: Binary data I use c2hs with below command LANG=C c2hs -d trace -l $(pkg-config --cflags vte | sed 's/-I/-C-I/g') vte/vte.h Vte.chs generate Vte.hs file. When i compile Vte.hs

[Haskell-cafe] How to use Template Haskell build Map?

2009-09-07 Thread Andy Stewart
Hi all, I have below instances: instance PageViewState DiredViewState where instance PageViewState StringViewState where I can use Language.Haskell.Exts.Parser scan above instances got list: typeList :: [Type] typeList = [TyCon (UnQual (Ident DiredViewState)),TyCon

[Haskell-cafe] How to customize dyre recompile?

2009-09-06 Thread Andy Stewart
Hi all, I use below params for configure dyre: rebootParams :: Params Config rebootParams = defaultParams {projectName = Main ,realMain= manatee ,showError = rebootShowError ,cacheDir= Just $ return /test/Download/cache/ ,configDir = Just getCurrentDirectory }

[Haskell-cafe] Re: How to customize dyre recompile?

2009-09-06 Thread Andy Stewart
On Sun, Sep 6 2009 at 1:41 PM, Andy Stewart lazycat.mana...@gmail.com wrote: Hi all, I use below params for configure dyre: rebootParams :: Params Config rebootParams = defaultParams    {projectName = Main    ,realMain    = manatee    ,showError   = rebootShowError    ,cacheDir    = Just

[Haskell-cafe] Re: How to use dyre relaunch/restore State of Gtk2hs Object?

2009-08-31 Thread Andy Stewart
Will Donnelly will.donne...@gmail.com writes: HI Will, First, thanks for your detail explain. Hi Andy, Your program didn't compile as given, so I cut out some of the event handling fanciness you were doing. Also, my modified version restarts whenever the 'r' key is pressed. I figure those

[Haskell-cafe] How to use dyre relaunch/restore State of Gtk2hs Object?

2009-08-30 Thread Andy Stewart
Hi all. I try to use dyre (http://hackage.haskell.org/packages/archive/dyre/0.7.2/doc/html/Config-Dyre.html) to relaunch/restore State of TextView to make TextView's content can't lost when main program reboot. Below is source code for example: -- source code start

  1   2   >