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
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: [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