RE: [Haskell-cafe] Re: Idea for a very simple GUI llibrary
I dream of mostly generated bindings for Haskell to the native windowing toolkit. Eclipse's SWT proves, this is a viable path. See my proposal here: http://www.reddit.com/r/haskell_proposals/comments/9w7nk/adjust_the_swt_binding_generators_for_haskell/ Sam Martin sam.mar...@geomerics.com hat am 23. November 2009 um 19:04 geschrieben: Thinking of a parallel with Java for a second, is there a GUI library out there that's structured like Java Swing? Meaning, there is a GUI library that has a small platform-specific GUI foundation (e.g. a per platform implementation of the core AWT functionality) and the rest of the functionality is pure haskell? Supporting cross platform guis is often a bit ... complicated. Java attempted to resolve their debug-everywhere nightmare with AWT by making the per-platform bit as small as possible, and building everything else in Java. I guess in theory gtk and wxWidgets take on this support burden, but you do get some fairly hefty imperative apis as a result. Perhaps it would make sense to focus efforts on stabilising a small 'core gui' library that can act as the foundation stone for all manner of pure haskell gui libraries?* Or perhaps this already exists? Just a thought. Cheers, Sam___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] Re: Idea for a very simple GUI llibrary
Nice idea. I will try it if you write runGUI :-) Sure, just let me know :) If this is to be done, I think it's better that the person writing the Haskell code do not write runGUI, so the implementation details wouln't discourage ideas that make life easier for users. This is an imperative style library. For more Haskellian GUI library ideas, see Fruit (http://www.haskell.org/fruit/) and TVs (http://www.haskell.org/haskellwiki/TV). They may not pass the builds constraint :-P I do remember looking at TVs and also Fudgets as sugested by Keith. But there's a unfilled hole for a library that's conceptually simple. I believe that with the library I described users (begginers in Haskell?) could even use QuickCheck and HUnit with their GUI code. Thanks for your comments, Maurício ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] Re: Idea for a very simple GUI llibrary
Minor aside. - Could be the first GUI to build on hackage :) If you have wxWidgets installed, the new fully Cabalised wxHaskell builds just fine. It's quite handy/refreshing for 'cabal install wx' to finally just work :-) Unless you mean build on the Hackage server which should also be possible in principle, although the wxHaskell folks may want to have a quick look at http://hackage.haskell.org/packages/archive/wxcore/0.12.1.2/logs/failure/ghc-6.10 -- Eric Kow http://www.nltg.brighton.ac.uk/home/Eric.Kow PGP Key ID: 08AC04F9 signature.asc Description: Digital signature ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Re: Idea for a very simple GUI llibrary
Hi folks, my name is Juan Maiz and i'm starting to study Haskell (again). Is anyone from Brazil in the list?i I'm currently reading The Haskell Road to Logic, Maths and Programming and having a lot of (geek) fun. By the way, i found this: http://www.mail-archive.com/haskell-cafe@haskell.org/msg45406.html . It was sent by Mattias Bengtsson. I made something similar using Ruby's Treetop, with the difference that my concern was to validate and generate truth tables for formulas using Unicode. So... my first noob question to the list: What is the difference of Unicode support in HUGS and GHCI ? In GHCI I can do something like: (∧) = () Prelude True ∧ False *False* (The carachter is the unicode for conjunction U+2227) But in HUGS i can't. It says: ERROR conjunction.hs:1 - Unrecognised character `\8743' Somebody? On Mon, Nov 23, 2009 at 1:26 PM, Eric Kow eric@gmail.com wrote: Minor aside. - Could be the first GUI to build on hackage :) If you have wxWidgets installed, the new fully Cabalised wxHaskell builds just fine. It's quite handy/refreshing for 'cabal install wx' to finally just work :-) Unless you mean build on the Hackage server which should also be possible in principle, although the wxHaskell folks may want to have a quick look at http://hackage.haskell.org/packages/archive/wxcore/0.12.1.2/logs/failure/ghc-6.10 -- Eric Kow http://www.nltg.brighton.ac.uk/home/Eric.Kow PGP Key ID: 08AC04F9 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAksKqZgACgkQBUrOwgisBPmGBQCfRnW1dcLV3JaLi2p5PppsO+XK 7uwAoMVhCV00sdNctgAjw2TyQGs6TyNv =tnXa -END PGP SIGNATURE- ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Juan Maiz Lulkin Flores da Cunha --- Softa Consultoria para Desenvolvimento http://www.softa.com.br http://www.mailee.me - Finalmente e-mail marketing 2.0 http://www.linkedin.com/in/juanmaiz http://workingwithrails.com/recommendation/new/person/9354-juan-maiz “The most exciting breakthroughs of the 21st century will not occur because of technology but because of an expanding concept of what it means to be human” John Naisbitt ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Re: Idea for a very simple GUI llibrary
Forgot the URL: http://github.com/softa/rl On Mon, Nov 23, 2009 at 2:01 PM, Juan Maiz juanm...@gmail.com wrote: Hi folks, my name is Juan Maiz and i'm starting to study Haskell (again). Is anyone from Brazil in the list?i I'm currently reading The Haskell Road to Logic, Maths and Programming and having a lot of (geek) fun. By the way, i found this: http://www.mail-archive.com/haskell-cafe@haskell.org/msg45406.html . It was sent by Mattias Bengtsson. I made something similar using Ruby's Treetop, with the difference that my concern was to validate and generate truth tables for formulas using Unicode. So... my first noob question to the list: What is the difference of Unicode support in HUGS and GHCI ? In GHCI I can do something like: (∧) = () Prelude True ∧ False *False* (The carachter is the unicode for conjunction U+2227) But in HUGS i can't. It says: ERROR conjunction.hs:1 - Unrecognised character `\8743' Somebody? On Mon, Nov 23, 2009 at 1:26 PM, Eric Kow eric@gmail.com wrote: Minor aside. - Could be the first GUI to build on hackage :) If you have wxWidgets installed, the new fully Cabalised wxHaskell builds just fine. It's quite handy/refreshing for 'cabal install wx' to finally just work :-) Unless you mean build on the Hackage server which should also be possible in principle, although the wxHaskell folks may want to have a quick look at http://hackage.haskell.org/packages/archive/wxcore/0.12.1.2/logs/failure/ghc-6.10 -- Eric Kow http://www.nltg.brighton.ac.uk/home/Eric.Kow PGP Key ID: 08AC04F9 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAksKqZgACgkQBUrOwgisBPmGBQCfRnW1dcLV3JaLi2p5PppsO+XK 7uwAoMVhCV00sdNctgAjw2TyQGs6TyNv =tnXa -END PGP SIGNATURE- ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Juan Maiz Lulkin Flores da Cunha --- Softa Consultoria para Desenvolvimento http://www.softa.com.br http://www.mailee.me - Finalmente e-mail marketing 2.0 http://www.linkedin.com/in/juanmaiz http://workingwithrails.com/recommendation/new/person/9354-juan-maiz “The most exciting breakthroughs of the 21st century will not occur because of technology but because of an expanding concept of what it means to be human” John Naisbitt -- Juan Maiz Lulkin Flores da Cunha --- Softa Consultoria para Desenvolvimento http://www.softa.com.br http://www.mailee.me - Finalmente e-mail marketing 2.0 http://www.linkedin.com/in/juanmaiz http://workingwithrails.com/recommendation/new/person/9354-juan-maiz “The most exciting breakthroughs of the 21st century will not occur because of technology but because of an expanding concept of what it means to be human” John Naisbitt ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re[2]: [Haskell-cafe] Re: Idea for a very simple GUI llibrary
Hello Juan, Monday, November 23, 2009, 7:01:39 PM, you wrote: But in HUGS i can't. It says: ERROR conjunction.hs:1 - Unrecognised character `\8743' hugs doesn't accept unicode source files there are lots of unicode support problems in both haskell implementations. probably we have some wiki page what describes current state -- Best regards, Bulatmailto:bulat.zigans...@gmail.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: Re[2]: [Haskell-cafe] Re: Idea for a very simple GUI llibrary
Yeah, I found many pages about it (some making fun of a interpreter that follows all H98 spec). But i'm still crawling to understand who is who and what are the pages to get help in Haskell community :D And well, tha's bad, i've really enjoyed Hugs, but i'll have to use GHC instead :D Thanks. On Mon, Nov 23, 2009 at 2:14 PM, Bulat Ziganshin bulat.zigans...@gmail.comwrote: Hello Juan, Monday, November 23, 2009, 7:01:39 PM, you wrote: But in HUGS i can't. It says: ERROR conjunction.hs:1 - Unrecognised character `\8743' hugs doesn't accept unicode source files there are lots of unicode support problems in both haskell implementations. probably we have some wiki page what describes current state -- Best regards, Bulatmailto:bulat.zigans...@gmail.com -- Juan Maiz Lulkin Flores da Cunha --- Softa Consultoria para Desenvolvimento http://www.softa.com.br http://www.mailee.me - Finalmente e-mail marketing 2.0 http://www.linkedin.com/in/juanmaiz http://workingwithrails.com/recommendation/new/person/9354-juan-maiz “The most exciting breakthroughs of the 21st century will not occur because of technology but because of an expanding concept of what it means to be human” John Naisbitt ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
RE: [Haskell-cafe] Re: Idea for a very simple GUI llibrary
Thinking of a parallel with Java for a second, is there a GUI library out there that's structured like Java Swing? Meaning, there is a GUI library that has a small platform-specific GUI foundation (e.g. a per platform implementation of the core AWT functionality) and the rest of the functionality is pure haskell? Supporting cross platform guis is often a bit ... complicated. Java attempted to resolve their debug-everywhere nightmare with AWT by making the per-platform bit as small as possible, and building everything else in Java. I guess in theory gtk and wxWidgets take on this support burden, but you do get some fairly hefty imperative apis as a result. Perhaps it would make sense to focus efforts on stabilising a small 'core gui' library that can act as the foundation stone for all manner of pure haskell gui libraries?* Or perhaps this already exists? Just a thought. Cheers, Sam ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] Re: Idea for a very simple GUI llibrary
Thinking of a parallel with Java for a second, is there a GUI library out there that's structured like Java Swing? Meaning, there is a GUI library that has a small platform-specific GUI foundation (e.g. a per platform implementation of the core AWT functionality) and the rest of the functionality is pure haskell? I believe the plan I sugested in the begining of the thread could be easily made into what you want. It could not be, however, as powerfull as the mainstream libraries. Maurício ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe