[Haskell-cafe] Re: Hackage accounts and real names

2010-04-05 Thread Possibily not Samuel Bronson after all?
Gwern Branwen gwern0 at gmail.com writes: It must've been put in place in the past year or two; I've never made any bones about using a pseudonym, and I had no trouble getting a Hackage account back when it was starting up. It may have helped that you appear to be using a pseudonym somewhat

Re: Proposal: ExplicitForall

2009-07-24 Thread Samuel Bronson
On Thu, Jul 23, 2009 at 7:36 AM, Niklas Brobergniklas.brob...@gmail.com wrote: Alright, let's set an actual discussion period of 2 weeks for ExplicitForall. If there is no opposition by then, we can add ExplicitForall to the registered extensions in cabal as a first step. Slightly more than

what about moving the record system to an addendum?

2009-07-06 Thread Samuel Bronson
According to http://hackage.haskell.org/trac/haskell-prime/wiki/Status, ticket #99 was rejected, but the tickets own page, http://hackage.haskell.org/trac/haskell-prime/ticket/99, says probably yes. Which is it? I was about to propose this myself, but decided to check the trac just in case it had

Re: [Haskell] Re: state of HaXml?

2007-01-10 Thread Samuel Bronson
On 1/10/07, Malcolm Wallace [EMAIL PROTECTED] wrote: Samuel Bronson [EMAIL PROTECTED] wrote: Can I just leave it hanging and rely on the garbage collector to close it in the fullness of time? Actually, hGetContents closes the handle when it gets an EOF. If it never does get EOF (because

Re: [Haskell] Re: state of HaXml?

2007-01-09 Thread Samuel Bronson
On 1/4/07, Norman Ramsey [EMAIL PROTECTED] wrote: There seems to be a misunderstanding here: readFile in itself is not the solution. readFile is defined thus: readFile name= openFile name ReadMode = hGetContents and the original code was this: load fn = do handle -

Re: [Haskell] How to make sure that a function is evaluated only once?

2006-12-21 Thread Samuel Bronson
On 12/21/06, Axel Jantsch [EMAIL PROTECTED] wrote: I have a function with type f :: Int - Int - Int - Int - Int - NRup - NRdown and I want to make sure it is evaluated only once for the same set of arguments but I observe that it is always evaluated several times. Maybe you want to memoize

Re: [Haskell] ANNOUNCE: dlist, difference lists supporting O(1) append

2006-12-11 Thread Samuel Bronson
On 12/10/06, Donald Bruce Stewart [EMAIL PROTECTED] wrote: This is DList, 0.1 I've cabalised, and packed up a small difference lists module. In case you've not used them, they are a Haskell idiom for implementing O(1) append and snoc, using functions to represent lists. Are they in Monoid?

[Haskell] ANNOUNCE: ZMachine 0.0

2006-12-09 Thread Samuel Bronson
I've written a (partial) Z-machine interpreter in Haskell. It is missing lots of stuff, but I got it to the point where it doesn't cause actual pain to play with it ;-). It uses gtk2hs for the interface, though other interfaces could be implemented without actually changing the interpreter

Re: [Haskell] ANNOUNCE: ZMachine 0.0

2006-12-09 Thread Samuel Bronson
On 12/9/06, Neil Mitchell [EMAIL PROTECTED] wrote: Hi Samuel, For future releases can you put up a little description of what a Z Machine is in the email? Hmm. That would probably be a good idea ;-). But I don't see why I can't do that now, too. Except I actually want to describe the

Re: [Haskell] Expecting more inlining for bit shifting

2006-10-11 Thread Samuel Bronson
Simon Peyton-Jones simonpj at microsoft.com writes: | So, my hypothesis is that the inliner doesn't recognise that | ``if (x = 0) then ...'' is effectively a case analysis on x, and thus the | argument discount is not fired. So we need to figure out how to extend | this criterion for

Re: [Haskell] Template Haskell Question: Spliced expr. of type TypeQ

2005-06-09 Thread Samuel Bronson
On 07/06/05, Simon Peyton-Jones [EMAIL PROTECTED] wrote: [Redirecting to GHC users] I'm afraid I never got around to implementing splices in types, I'm afraid. Interestingly, you are the first person who's asked for them. That is only because everyone else was too lazy to bother asking.

Re: [Haskell-cafe] foldl and space problems

2005-06-09 Thread Samuel Bronson
On 06/06/05, Gracjan Polak [EMAIL PROTECTED] wrote: Question: is there any way to see what is holding my source list? I did try to guess, but without results as of now:( How do I debug and/or reason about such situation? I heard that NHC has excellent heap profiling support, maybe it would

Re: [Haskell] fptools tree bsd3 licensed? was Re: PPrint license

2005-05-30 Thread Samuel Bronson
On 30/05/05, Shae Matijs Erisson [EMAIL PROTECTED] wrote: Samuel Bronson [EMAIL PROTECTED] writes: Anybody know anything about this? I think anything in fptools is BSD3 licensed, but I'm not sure if that's true. I didn't know that was in fptools. I'll have to check that out again sometime

Re: [Haskell] HaskellForge

2005-05-30 Thread Samuel Bronson
On 30/05/05, Isaac Jones [EMAIL PROTECTED] wrote: Samuel Bronson [EMAIL PROTECTED] writes: (snip) I think we might actually be suffering from the invented here syndrome, namely because we got early exposure to darcs and many of us got hooked. I kinda disagree here. Haskell people

[Haskell] PPrint license

2005-05-29 Thread Samuel Bronson
I was messing around with some pretty printing stuff in Pugs, and I got tired of Text.PrettyPrint.HughesPJ, and wound up wanting to use PPrint. But I don't see any license anywhere for it, so I'm naturally a bit hessitant to stick it in the Pugs svn tree... Anybody know anything about this? --

Re: [Haskell] ANNOUNCE: lambdabot 3.0

2005-05-27 Thread Samuel Bronson
On 26/05/05, Donald Bruce Stewart [EMAIL PROTECTED] wrote: lambdabot was written by Andrew Bromage, and is now a community project. lambdabot 3.0 would not have been possible without the help of the #haskell irc community -- this release features more than 450 patches from 14 contributors.

Re: [Haskell] HaskellForge

2005-05-26 Thread Samuel Bronson
On 26/05/05, Brian Smith [EMAIL PROTECTED] wrote: On 5/25/05, Samuel Bronson [EMAIL PROTECTED] wrote: The thing is, Haskell people tend to want to use Darcs for their Haskell stuff, and I don't think there are sites like sourceforge supporting it yet... I tried to address this in my

Re: [Haskell] HaskellForge

2005-05-26 Thread Samuel Bronson
On 26/05/05, Sven Panne [EMAIL PROTECTED] wrote: Samuel Bronson wrote: The thing is, Haskell people tend to want to use Darcs for their Haskell stuff, and I don't think there are sites like sourceforge supporting it yet... So my question is (probably once again): Why can 100.000 projects

Re: [Haskell] HaskellForge

2005-05-25 Thread Samuel Bronson
Whoops, I sent this to just brian by mistake. On 21/05/05, Brian Smith [EMAIL PROTECTED] wrote: On 5/13/05, Gour [EMAIL PROTECTED] wrote: So, why not form HaskellForge and thereby form powerful Haskell alliance, ie. common site which can host many/most present Haskell projects offering

Re: [Haskell-cafe] Unexported functions are evil

2005-05-16 Thread Samuel Bronson
On 15/05/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Taking this to an illogcial extreme, why don't we allow pointer arithmetic in Haskell, but require people to import Prelude.C first, so that people who enjoy playing with fire can do it? After all, we use it under the covers... Isn't

Re: GHC mutual recursion weirdness

2005-05-12 Thread Samuel Bronson
This turns out to have been a duplicate of [1199529] ghc --make panic on fptools/ghc/compiler/Lexer.hs ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Why would my bugreports not have been responded to?

2005-05-12 Thread Samuel Bronson
I sent a couple of bug reports to the glasgow-haskell-bugs list, and I'm wondering why nobody seems to have responded yet. Should I have used the sourceforge bug tracker? Are they maybe just hard? Am I just being unreasonably impatient? -- Thanks, Sam

Re: [Haskell-cafe] resolving missing class instances @ compile time

2005-05-12 Thread Samuel Bronson
On 12/05/05, Greg Buchholz [EMAIL PROTECTED] wrote: Bernard Pope wrote: Perhaps this section of the report might help: From Section 4.3.2 Instance Declarations in the Haskell Report: http://www.haskell.org/onlinereport/decls.html#instance-decls If no binding is given for some

Re: [Haskell-cafe] resolving missing class instances @ compile time

2005-05-12 Thread Samuel Bronson
On 12/05/05, Greg Buchholz [EMAIL PROTECTED] wrote: Samuel Bronson wrote: After thinking about it for a while, I'm positive it would be a LOT of work to get that to work in general, if it is even possible. Even getting it to work in only specific, limited cases (such as within a module

Re: [Haskell-cafe] resolving missing class instances @ compile time

2005-05-12 Thread Samuel Bronson
On 12/05/05, Greg Buchholz [EMAIL PROTECTED] wrote: Samuel Bronson wrote: The former may not be hard, but the latter would require functions with typeclass constraints on their types to be annotated in the interface file with what typeclass methods they called. Does that sound hard yet

GHC mutual recursion weirdness

2005-05-11 Thread Samuel Bronson
Someone in #Haskell mentioned a problem they were having with GHC 6.4 and mutually recursive modules. I'd never tried them, so I tried the simplest thing I could think of and tried doing it a few ways, and these are my findings. I've attached all the relevant files and a tarball for maximum

Template haskell and mutually recursive modules won't play nice

2005-05-11 Thread Samuel Bronson
It looks like TH has issues with mutually recursive modules. Now I could understand this if I was actually trying to call functions in modules imported with {-# SOURCE #-} from TH, but I'm not. What is going on here? I am getting sick of seeing expectJust upsweep_mod:old_linkable. % ghc --make

Re: [Haskell] Proposal: Relative Module Imports

2005-05-09 Thread Samuel Bronson
On 5/9/05, Simon Marlow [EMAIL PROTECTED] wrote: On 06 May 2005 18:33, Samuel Bronson wrote: On 5/6/05, Simon Marlow [EMAIL PROTECTED] wrote: (d) I hoped that something like grafting would provide a more general solution. Grafting sounds like a very nice solution just from

Re: [Haskell] RE: Should inet_ntoa Be Pure?

2005-05-09 Thread Samuel Bronson
http://www.haskell.org/ghc/docs/latest/html/libraries/network/Network.So cket.html#v%3Ainet_addr http://www.haskell.org/ghc/docs/latest/html/libraries/network/Network.So cket.html#v%3Ainet_ntoa What is with this wrapping? Sorry to cross-post this, but I couldn't figure out what to cut

Re: [Haskell] Re: Proposal: Relative Module Imports

2005-05-07 Thread Samuel Bronson
On 5/5/05, S. Alexander Jacobson [EMAIL PROTECTED] wrote: On Tue, 3 May 2005, Samuel Bronson wrote: Maybe something like from Text.HaXML.XML import (Types, Escape, Pretty) would be nice. The problem with this one is that you need a way to express all the other stuff in import

Re: [Haskell] Proposal: Relative Module Imports

2005-05-06 Thread Samuel Bronson
On 5/6/05, Simon Marlow [EMAIL PROTECTED] wrote: (d) I hoped that something like grafting would provide a more general solution. Grafting sounds like a very nice solution just from the name, but I don't recall hearing of it before. Where can I read about it?

[Haskell] Re: Proposal: Relative Module Imports

2005-05-03 Thread Samuel Bronson
On 5/3/05, S. Alexander Jacobson alex at alexjacobson.com wrote: Problem: We need a way to simplify module imports. Problem details: * Hierarchical module names are getting really long (including a functional area, a package name, and a module name). * People typically import multiple