Re: [GHC] #1965: Allow unconstrained existential contexts in newtypes

2011-12-17 Thread GHC
#1965: Allow unconstrained existential contexts in newtypes ---+ Reporter: guest | Owner: Type: feature request | Status: new Priority: normal

Re: [GHC] #1965: Allow unconstrained existential contexts in newtypes

2011-12-17 Thread GHC
#1965: Allow unconstrained existential contexts in newtypes ---+ Reporter: guest | Owner: Type: feature request | Status: new Priority: normal

RE: Unexpected list non-fusion

2011-12-17 Thread Joachim Breitner
Dear Wren, Am Donnerstag, den 15.12.2011, 17:38 + schrieb Simon Peyton-Jones: | Am Montag, den 12.12.2011, 15:37 -0500 schrieb wren ng thornton: | I've noticed that take and filter are good producers (and consumers) | for list fusion, but takeWhile, drop, and dropWhile are not. Is there

[Haskell] Announce: The Haskell Platform 2011.4

2011-12-17 Thread Don Stewart
We're pleased to announce the release of the Haskell Platform: a single, standard Haskell distribution for everyone. Download the Haskell Platform 2011.4.0.0: http://haskell.org/platform/ The specification, along with installers (including Windows, Apple and Unix installers for a full

Re: [Haskell-cafe] What happens if you get hit by a bus?

2011-12-17 Thread Alberto G. Corona
Hehee Great. Haskell is a flexible high level language perfect for domain specific languages it isn't?. A well designed solution is, at the top level, simple and understandable even by non experts. The software transforms the complexities of the hardware into something that the user can

Re: [Haskell-cafe] [Alternative] summary of my understanding so far

2011-12-17 Thread Matthew Farkas-Dyck
On 16/12/2011, Gregory Crosswhite gcrosswh...@gmail.com wrote: On Dec 17, 2011, at 12:35 PM, Matthew Farkas-Dyck wrote: (1) If we do (4), then the documentation ought to be adequate as-is. I see your point that if we do (4) then some and many are no longer problematic for Maybe and [], and

Re: [Haskell-cafe] Alternative versus Monoid

2011-12-17 Thread Matthew Farkas-Dyck
On 17/12/2011, Gregory Crosswhite gcrosswh...@gmail.com wrote: On Dec 17, 2011, at 12:51 PM, Matthew Farkas-Dyck wrote: By my reason, the instance (Monoid a = Monoid (Maybe a)) is appropriate, since we have another class for inner-type-agnostic choice -- Alternative! (and MonadPlus, but

Re: [Haskell-cafe] I've just heard of a neat security measure that when you compile the code it generates different object code...

2011-12-17 Thread Magnus Therning
On Sat, Dec 17, 2011 at 12:43:11PM +1300, Chris Wong wrote: On Sat, Dec 17, 2011 at 12:27 PM, KC kc1...@gmail.com wrote: ... with the same functionality. Thus, your program would be a moving target to hackers. Would this be challenging with ghc? Although it's possible, I doubt this

[Haskell-cafe] gtk2hs: adding widget during runtime

2011-12-17 Thread Gary Klindt
Hello Haskellers, currently I work with the gtk2hs library to create a graphical user interface. Everything works fine, but there is one problem: How can I insert widgets into boxes during runtime? I tried something like: main = do initGUI window - windowNew box - vBoxNew True 0

Re: [Haskell-cafe] gtk2hs: adding widget during runtime

2011-12-17 Thread Joachim Breitner
Hi, Am Samstag, den 17.12.2011, 20:42 +0100 schrieb Gary Klindt: That compiles fine, but the GUI never shows a neues label!. blind guess: Do you need to call widgetShow on the newly created widget? Greetings, Joachim -- Joachim nomeata Breitner m...@joachim-breitner.de |

Re: [Haskell-cafe] gtk2hs: adding widget during runtime

2011-12-17 Thread Gary Klindt
On 12/17/2011 09:03 PM, Joachim Breitner wrote: Hi, Am Samstag, den 17.12.2011, 20:42 +0100 schrieb Gary Klindt: That compiles fine, but the GUI never shows a neues label!. blind guess: Do you need to call widgetShow on the newly created widget? Uuh! That seem's very elemental, and it works.

[Haskell-cafe] Announce: The Haskell Platform 2011.4

2011-12-17 Thread Don Stewart
We're pleased to announce the release of the Haskell Platform: a single, standard Haskell distribution for everyone. Download the Haskell Platform 2011.4.0.0: http://haskell.org/platform/ The specification, along with installers (including Windows, Apple and Unix installers for a full

Re: [Haskell-cafe] I've just heard of a neat security measure that when you compile the code it generates different object code...

2011-12-17 Thread Artyom Kazak
I wonder, if there is any example of actual Haskell program cracked / reverse engineered? GHC-generated code is already quite hard to understand… ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Typechecking Using GHC API

2011-12-17 Thread Daniel Schoepe
On Tue, 13 Dec 2011 18:16:17 +0100, Sh NJP shayan@gmail.com wrote: I do some pre-processing on a normal Haskell code ( -F ). The pre-processor needs to know the type of each expression. What are the possibilities to do so? Can I use GHC API to employ GHC type checker? If yes, any good

Re: [Haskell-cafe] Announce: The Haskell Platform 2011.4

2011-12-17 Thread Joachim Breitner
Hi, Am Samstag, den 17.12.2011, 16:04 -0500 schrieb Don Stewart: We're pleased to announce the release of the Haskell Platform: a single, standard Haskell distribution for everyone. Download the Haskell Platform 2011.4.0.0: we are pleased to announce the release of the Haskell Platform on

[arch-haskell] Fwd: [Haskell-cafe] Announce: The Haskell Platform 2011.4

2011-12-17 Thread Bernardo Barros
-- Forwarded message -- From: Don Stewart don...@gmail.com Date: Sat, Dec 17, 2011 at 1:04 PM Subject: [Haskell-cafe] Announce: The Haskell Platform 2011.4 To: hask...@haskell.org, haskell-cafe haskell-c...@haskell.org, haskell-platf...@projects.haskell.org