Re: [Haskell-cafe] haskell platform - mac lion - installation error

2012-03-10 Thread Aristid Breitkreuz
XCode 4.3 does not install the Unix development environment by default anymore. Go to the XCode preferences, and then to the Download pane, there should be an Install button for that. Aristid 2012/3/10 Peter smeldr...@gmail.com Hello - I'm a new user, having some trouble installing the

Re: [Haskell-cafe] Haskell implementation of a database?

2012-02-16 Thread Aristid Breitkreuz
Are you looking for something like acid-state? Aristid Am 17.02.2012 07:57 schrieb Vasili I. Galchin vigalc...@gmail.com: Hello, I have been looking through Hackage database for a Haskell implementation of a database(not a binding) but couldn't find anything. Probably it was under my

Re: [Haskell-cafe] [haskell-cafe] Some reflections on Haskell

2012-02-14 Thread Aristid Breitkreuz
In the source file, the Haddock documentation is there, no idea why it doesn't show up. Am 15.02.2012 04:00 schrieb Doug McIlroy d...@cs.dartmouth.edu: Markus: What about hoogle/hayoo and hackage? Antoine: Do you have any links to examples that we should imitate? Hackage is notionally

Re: [Haskell-cafe] Contributing to http-conduit

2012-02-06 Thread Aristid Breitkreuz
I would say: if it adds no package dependencies, put it right in. Aristid Am 06.02.2012 22:09 schrieb Myles C. Maxfield myles.maxfi...@gmail.com: After all these commits have been flying around, I have yet another question: the 'HTTP' package defines Network.Browser which is a State monad

Re: [Haskell-cafe] Contributing to http-conduit

2012-02-04 Thread Aristid Breitkreuz
Is it possible to have both an Expires and a Max-age? If not, maybe you should make a type like data Expiry = NeverExpires | ExpiresAt UTCTime | ExpiresIn DiffTime 2012/2/4 Myles C. Maxfield myles.maxfi...@gmail.com: Here is the patch to Web.Cookie. I didn't modify the tests at all because

Re: [Haskell-cafe] Contributing to http-conduit

2012-02-02 Thread Aristid Breitkreuz
Sounds good. I think the nicest way to handle maxage would be changing SetCookie, not handling it at parsing time. Aristid Am 03.02.2012 05:35 schrieb Myles C. Maxfield myles.maxfi...@gmail.com: Alright. After reading the spec, I have these questions / concerns: - The spec supports the

Re: [Haskell-cafe] Contributing to http-conduit

2012-01-25 Thread Aristid Breitkreuz
The nice thing is that this way, nobody can force me to handle cookies. ;-) Might be that usage patterns emerge, which we can then codify into functions later. Am 25.01.2012 08:09 schrieb Michael Snoyman mich...@snoyman.com: On Wed, Jan 25, 2012 at 9:01 AM, Myles C. Maxfield

Re: [Haskell-cafe] Contributing to http-conduit

2012-01-24 Thread Aristid Breitkreuz
Yeah, a more combinatorial approach to making HTTP requests would be good. So +1 for checkRedirect or anything similar. 2012/1/24 Michael Snoyman mich...@snoyman.com: On Tue, Jan 24, 2012 at 6:57 PM, Myles C. Maxfield myles.maxfi...@gmail.com wrote: On Mon, Jan 23, 2012 at 10:43 PM, Michael

Re: [Haskell-cafe] Contributing to http-conduit

2012-01-23 Thread Aristid Breitkreuz
and then not really mean it or something along those lines would be invalid. And having a server not set a cookie at all means having this feature would be irrelevant. On Mon, Jan 23, 2012 at 9:42 AM, Aristid Breitkreuz arist...@googlemail.com wrote: Indeed, I disagree on 2. Sometimes there is an API

Re: [Haskell-cafe] Contributing to http-conduit

2012-01-22 Thread Aristid Breitkreuz
Just make sure Cookie handling can be disabled completely. Aristid Am 23.01.2012 07:44 schrieb Michael Snoyman mich...@snoyman.com: On Mon, Jan 23, 2012 at 8:31 AM, Myles C. Maxfield myles.maxfi...@gmail.com wrote: 1. Oops - I overlooked the fact that the redirectCount attribute of a

Re: [Haskell-cafe] Contributing to http-conduit

2012-01-22 Thread Aristid Breitkreuz
on, and a page that redirects you also sets a cookie. I would think that we would want (2) to be on regardless of user setting, do you disagree? Michael On Mon, Jan 23, 2012 at 8:46 AM, Aristid Breitkreuz arist...@googlemail.com wrote: Just make sure Cookie handling can be disabled

Re: [Haskell-cafe] [web-devel] [ANNOUNCE] First release of crypto-conduit

2012-01-08 Thread Aristid Breitkreuz
. Aristid 2012/1/8 Vincent Hanquez t...@snarc.org: On 01/08/2012 04:12 AM, Aristid Breitkreuz wrote: Why? I don't actually need the hash object for anything, usually. All I need is the ByteString, and then I need to learn how to use the cereal package to get it... The whole rationale i believe

Re: [Haskell-cafe] [web-devel] [ANNOUNCE] First release of crypto-conduit

2012-01-07 Thread Aristid Breitkreuz
And while we're at it, some code to deal with the cumbersome decoding of those hash objects would be nice! Cheers, Aristid Am 07.01.2012 11:07 schrieb Greg Weber g...@gregweber.info: great! I am wondering if you can provide even higher-level APIs for the common case: hash - runResourceT $

Re: [Haskell-cafe] [web-devel] [ANNOUNCE] First release of crypto-conduit

2012-01-07 Thread Aristid Breitkreuz
Well, how do you get a ByteString from the hash object? Aristid Am 07.01.2012 13:04 schrieb Felipe Almeida Lessa felipe.le...@gmail.com: On Sat, Jan 7, 2012 at 9:12 AM, Aristid Breitkreuz arist...@googlemail.com wrote: And while we're at it, some code to deal with the cumbersome decoding

Re: [Haskell-cafe] [web-devel] [ANNOUNCE] First release of crypto-conduit

2012-01-07 Thread Aristid Breitkreuz
Yeah and that's annoying IMHO. :) It's not really important though. Aristid Am 07.01.2012 15:39 schrieb Felipe Almeida Lessa felipe.le...@gmail.com: ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] [web-devel] [ANNOUNCE] First release of crypto-conduit

2012-01-07 Thread Aristid Breitkreuz
2012/1/8 Vincent Hanquez t...@snarc.org: What would you prefer ? At the moment, i'm inclined to someday move cryptohash apis to be similar to crypto-api. i.e. from a result type being a bytestring to an opaque type with serialize/show instance. Why? I don't actually need the hash object for

Re: [Haskell-cafe] porting feed to xml-enumerator

2012-01-02 Thread Aristid Breitkreuz
Hi Simon and all, You might want to consider using xml-conduit instead of xml-enumerator. Michael Snoyman has shifted his attention to this new alternative. Cheers, Aristid 2012/1/2 Simon Michael si...@joyful.com: Hi Sigbjorn (and Don), I'm back for another reason. feed leaks and uses a

[Haskell-cafe] Conduits: Is Source a valid instance of Monad?

2011-12-27 Thread Aristid Breitkreuz
Hi all, As you may have noticed, Michael Snoyman has been working on an alternative approach to I/O, called conduits. You can find it here: https://github.com/snoyberg/conduit When looking at the Source type (explained here: http://www.yesodweb.com/blog/2011/12/conduits), I noticed that they