[Haskell-cafe] Haskell.org re-design

2010-03-28 Thread Christopher Done
This is a post about re-designing the whole Haskell web site. We got a new logo but didn't really take it any further. For a while there's been talk about a new design for the Haskell web site, and there are loads of web pages about Haskell that don't follow a theme consistent with Haskell.org's,

Re: [Haskell-cafe] Are there any female Haskellers?

2010-03-28 Thread Christopher Done
Fran Allen talked about this in Coders at Work (I typed this up quickly so forgive typos): Allen: Recently I realized what was probably the root cause of this: computer science had emerged between 1960 and 1970. And it mostly came out of the engineering schools; some of it came from mathematics.

Re: [Haskell-cafe] Haskell.org re-design

2010-03-28 Thread Christopher Done
On 28 March 2010 22:00, Ivan Lazar Miljenovic ivan.miljeno...@gmail.comwrote: ^^ This. It's too boring and depressing with all that grayscale. Why not use the coloured version of the logo ( http://haskell.org/sitewiki/images/a/a8/Haskell-logo-60.png ) and base the colour scheme off that?

Re: [Haskell-cafe] Re: Has Try Haskell! An interactive tutorial in your browser been announced yet?

2010-03-28 Thread Christopher Done
Hi Benjamin, Thanks for testing it and providing a detailed report. I've since done more work on Try Haskell, but not too much. (My job has taken up a very large amount of my time and energy. I am moving to another one currently.) I will address your points just to clear it up and maybe we can

Re: [Haskell-cafe] Haskell.org re-design

2010-03-28 Thread Christopher Done
On 28 March 2010 22:54, Don Stewart d...@galois.com wrote: This looks great! What are the implementation details of having this go live? * Ashley: would you be able to e.g. install an index.html like this, and hang the wiki under it? * How do we allow editing (by trusted users?)

[Haskell-cafe] Re: Haskell.org re-design

2010-03-28 Thread Christopher Done
On 28 March 2010 23:32, Ashley Yakeley ash...@semantic.org wrote: There was a big competition for the logo, with this blind Condorcet voting and everything, and this is the shape that was picked. But it kind of ran out of steam before colours were decided upon. So I just copied the colours

Re: [Haskell-cafe] Re: Haskell.org re-design

2010-03-28 Thread Christopher Done
On 29 March 2010 00:08, Don Stewart d...@galois.com wrote: On 28 March 2010 23:25, Ashley Yakeley ash...@semantic.org wrote: Is the front page a wiki page? By the looks of it, yes. If you go to 'Edit this page', you can see that it's made out of wikimedia templates. But that's just a guess.

[Haskell-cafe] Re: Haskell.org re-design

2010-03-29 Thread Christopher Done
On 29 March 2010 11:19, Simon Marlow marlo...@gmail.com wrote: Is the footer necessary?  I dislike sites that have too many ways to navigate, and the footer looks superfluous.  The footer will probably be off the bottom of the window in any case, which reduces its usefulness as a navigation

Re: [Haskell-cafe] Re: Haskell.org re-design

2010-03-29 Thread Christopher Done
On 29 March 2010 16:16, Sean Leather leat...@cs.uu.nl wrote: On Mon, Mar 29, 2010 at 16:24, Simon Marlow wrote: IMHO, these aren't compelling reasons.  Note that already on your page there is an inconsistency between the tabs at the top and the headings at the bottom: I don't know where to

Re: [Haskell-cafe] Haskell.org re-design

2010-03-29 Thread Christopher Done
On 29 March 2010 21:51, Sebastiaan Visser sfvis...@cs.uu.nl wrote: Nice work, definitely beats the current version! A few remarks:  - Please throw in a bit more color somehow. Like said before, this shade of gray is a bit depressive.  - The more links are far to prominent. These links are

Re: [Haskell-cafe] Haskell.org re-design

2010-04-01 Thread Christopher Done
On 31 March 2010 12:01, Johan Tibell johan.tib...@gmail.com wrote: - There are several news streams going on at once. Perhaps Headlines and Events could be merged into one stream. After watching the Hackage RSS feed every day I don't know if it's interesting enough to put on a front page.

Re: [Haskell-cafe] True Random Numbers

2010-04-03 Thread Christopher Done
I've used this one before: betterStdGen :: IO StdGen betterStdGen = alloca $ \p - do h - openBinaryFile /dev/random ReadMode hGetBuf h p $ sizeOf (undefined :: Int) hClose h mkStdGen $ peek p ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Hackage and popular packages: 2010 Q1 report

2010-04-03 Thread Christopher Done
Nice report! Downloads in March 2010: 145,752 (new monthly record) G Zurihac! Bring on SanFranHac! Nice to see wxHaskell rising up. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Happy Easter / ZJD!

2010-04-04 Thread Christopher Done
I've been having a great holiday. Messing about with Hakyll and the Cont monad all weekend. My new site and blog is built with Hakyll now! http://chrisdone.com/ Made a little post about how to use Hakyll with Git in a nice way:

[Haskell-cafe] Haskell JSON requests from your blog, roll your own Try Haskell!

2010-04-05 Thread Christopher Done
For those interested, http://chrisdone.com/posts/2010-04-05-haskell-json-service-tryhaskell.html I've updated the Haskell JSON service I whipped up a month ago and made it much simpler, written some sample code for how to include this in your blog or tutorials. It supports the JSONP way of

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

2010-04-05 Thread Christopher Done
This discussion makes me ponder whether someone like _why the lucky stiff would ever contribute Haskell packages, hehe. I can count on two hands people I know in various programming communities who have identity issues but are prolific creators. Are we missing out? Probably. But at least there is

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

2010-04-05 Thread Christopher Done
On 6 April 2010 01:52, Ivan Miljenovic ivan.miljeno...@gmail.com wrote: On 6 April 2010 10:48, Christopher Done chrisd...@googlemail.com wrote: This discussion makes me ponder whether someone like _why the lucky stiff would ever contribute Haskell packages, hehe. I think we can do without

[Haskell-cafe] Haskell web dev - ASP .NET analogue?

2010-04-15 Thread Christopher Done
The state of Haskell web development is exciting and messy. We don't have a de facto way to do it like Rails or Django or ASP .NET, but we do have many imitations and ideas popping up. You can easily judge whether the community is happy with the state of web development by the number of new web

Re: [Haskell-cafe] nun.haskell.org http services down?

2010-05-05 Thread Christopher Done
Why does this happen so often? Broken hardware, software crash, bandwidth overuse, etc.? I have 200GB of bandwidth/month on the tryhaskell.org server. It's not much but hopefully I can make a Hackage mirror out of it one weekend for when the main server goes down. On 5 May 2010 09:05, Jens

Re: [Haskell-cafe] [ANNOUNCE] First Public Release of the Snap Framework

2010-05-24 Thread Christopher Done
Agreed, I think Snap just raised the bar for presentation of Haskell libraries. It even has a custom Haddock style sheet! I'm glad it is built up of separate packages. I also look forward to using it. On 22 May 2010 09:10, Chris Eidhof ch...@eidhof.nl wrote: Awesome! Congratulations on the first

Re: [Haskell-cafe] TDD in Haskell

2010-05-25 Thread Christopher Done
On 25 May 2010 13:36, Ionut G. Stan ionut.g.s...@gmail.com wrote: I'm doing TDD in pretty much all of the languages that I know, and I want to introduce it early in my Haskell learning process. I wonder though, if there's some established process regarding TDD, not unit testing. I've heard of

Re: [Haskell-cafe] Wire GUI

2010-05-29 Thread Christopher Done
Conal Elliot's talk on Tangible Functional Programming might be of interest. http://www.youtube.com/watch?v=faJ8N0giqzw On 29 May 2010 09:43, Andrew Coppin andrewcop...@btinternet.com wrote: Malcolm Wallace wrote: I'm looking at a project which involves a GUI where you can insert components

Re: [Haskell-cafe] design question/font metrics

2010-06-03 Thread Christopher Done
Maybe you could check out the FTGL package for inspiration on using the freetype as a conventional C library. I was going to try to write a Hackage package but realised I know nothing about typography and had to start reading the intro. on Freetype's homepage (which is pretty good, actually).

Re: [Haskell-cafe] Cabal -j

2010-06-03 Thread Christopher Done
On 4 June 2010 00:05, Don Stewart d...@galois.com wrote: wasserman.louis: What, if anything, stands in the way of parallelizing Cabal installs, make -j style? Parallelizing ghc --make    http://vimeo.com/6572966 Unless Louis meant what's stopping cabal-install from installing dependancies

Re: [Haskell-cafe] Removing alternate items from a list

2010-06-08 Thread Christopher Done
Can't forget fix in a game of code golf! (fix $ \f (x:_: xs) - x : f xs) [1..] = [1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,4... 2010/6/8 Yitzchak Gale g...@sefer.org: R J wrote: What's the cleanest definition for a function f :: [a] - [a] that takes a list and returns the

Re: [Haskell-cafe] Removing alternate items from a list

2010-06-08 Thread Christopher Done
On 8 June 2010 15:13, Jürgen Doser jurgen.do...@gmail.com wrote: El dom, 06-06-2010 a las 14:46 +, R J escribió: What's the cleanest definition for a function f :: [a] - [a] that takes a list and returns the same list, with alternate items removed?  e.g., f [0, 1, 2, 3, 4, 5] = [1,3,5]?

Re: [Haskell-cafe] cabal problem on OS X

2010-06-08 Thread Christopher Done
I am also experiencing this problem. I read that the problem was fixed in the latest Cabal-install version. But I'm not sure, as I tried to install the latest Cabal-install and got 50 linker errors which I'm not prepared to tackle until the weekend. On 8 June 2010 18:21, Gordon J. Uszkay

Re: [Haskell-cafe] Using the ContT monads for early exits of IO ?

2010-06-10 Thread Christopher Done
2010/6/10 Günther Schmidt gue.schm...@web.de: Hi everyone, I'm about to write a rather lengthy piece of IO code. Depending on the results of some of the IO actions I'd like the computation to stop right there and then. What's wrong with a mere if/else condition? foo = do bar x - mu

Re: [Haskell-cafe] Using the ContT monads for early exits of IO ?

2010-06-11 Thread Christopher Done
On 11 June 2010 10:12, Roman Cheplyaka r...@ro-che.info wrote: * Günther Schmidt gue.schm...@web.de [2010-06-11 01:22:27+0200] there is nothing wrong with ifs as such except the won't actually exit a long piece of code, the computation will continue, just in a useless way. Can you clarify?

Re: Re[2]: [Haskell-cafe] Using the ContT monads for early exits of IO ?

2010-06-11 Thread Christopher Done
On 11 June 2010 14:27, Bulat Ziganshin bulat.zigans...@gmail.com wrote: i format it this way: if x then return () else do bar continueComputation That's a nice way of formatting! God bless optional formatting! I like this problem-specific indentation. Another is: if xthen foo else

Re: Re[4]: [Haskell-cafe] Using the ContT monads for early exits of IO ?

2010-06-11 Thread Christopher Done
On 11 June 2010 14:40, Bulat Ziganshin bulat.zigans...@gmail.com wrote: if x        then foo else if y then bar else if z then mu else             zot case () of  _ | x - foo   | y - bar   | otherwise - zor it's usually considered as haskell way of doing this The example is merely to

[Haskell-cafe] Encoding the encoding type of a string into its type

2010-06-11 Thread Christopher Done
There are a lot of issues with string encoding type mismatches. Especially automatic conversions. This mailing list gets enough posts about encoding confusions. Would it make sense to make the string depend on its encoding type? E.g. a String UTF16 cannot be used with putStrLn :: String UTF8, it

Re: [Haskell-cafe] Re: How does one get off haskell?

2010-06-17 Thread Christopher Done
At CREATE-NET we're hiring Haskellers. If you fancy working in Trento (Italy) and you have experience, apply here. Try these trivial questions http://hpaste.org/fastcgi/hpaste.fcgi/view?id=26317 The question list doesn't indicate expertise but it does filter out newbies. Don't bother if you

Re: [Haskell-cafe] ANN: BlazeHtml 0.1

2010-06-19 Thread Christopher Done
On 19 June 2010 12:50, Jasper Van der Jeugt jasper...@gmail.com wrote: Hello all, In light of Google Summer of Code, we are proud to release the first version of BlazeHtml today. It's a 0.1 release, so beware of bugs! Nevertheless, we encourage you to try it out. You can find more

Re: [Haskell-cafe] Mapping a list of functions

2010-06-20 Thread Christopher Done
I love that. It's great. Definitely going in my .ghci file. On 20 June 2010 12:28, Liam O'Connor lia...@cse.unsw.edu.au wrote: swing map :: forall a b. [a - b] - a - [b] swing any :: forall a. [a - Bool] - a - Bool swing foldr :: forall a b. b - a - [a - b - b] - b swing zipWith :: forall a b

Re: [Haskell-cafe] Control.Alternative --- some and many?

2010-06-22 Thread Christopher Done
I'm not sure how Alternative differs from MonadPlus, other than being defined for Applicative rather than Monad. They have the same laws (identity and associativity). Some and many are probably motivated by their usefulness in parsers. Hence optional, etc. I'm sure there are plenty of other

[Haskell-cafe] FastCGI, new maintainer

2010-06-23 Thread Christopher Done
I'm the new maintainer of the FastCGI package[1]. Please upgrade to the latest version, 3001.0.2.3. It includes a fix for a special but real case in which the library throws an exception when the httpd server unexpectedly closes the connection[2], and the base version and exceptions have been

[Haskell-cafe] Emacs script to align Haskell import list

2010-06-26 Thread Christopher Done
I whipped up a little Emacs script to align the import lines in the current buffer. I am using it in my projects and have experienced no problems. It's good at keeping within 80 columns. http://gist.github.com/453933 I've pasted it as a gist on Github so that anyone can edit it, gists also

[Haskell-cafe] Re: Emacs script to align Haskell import list

2010-06-26 Thread Christopher Done
mauke from the Freenode IRC channel has contributed a vim version: http://gist.github.com/454255 On 26 June 2010 12:25, Christopher Done chrisd...@googlemail.com wrote: I whipped up a little Emacs script to align the import lines in the current buffer. I am using it in my projects and have

Re: [Haskell-cafe] ANN: Haskell-mode 2.8.0

2010-07-02 Thread Christopher Done
Hey Svein, Any chance of including haskell-align-imports somehow in the next release? http://gist.github.com/453933 (Re-license it for inclusion however you wish, I don't care.) On 2 July 2010 14:27, Svein Ove Aas svein@aas.no wrote: I'm happy to (finally) announce haskell-mode 2.8.0,

Re: [Haskell-cafe] ANN: Haskell-mode 2.8.0

2010-07-02 Thread Christopher Done
On 2 July 2010 14:45, Svein Ove Aas sve...@gmail.com wrote: My current project is to rewrite the indenter in haskell, using haskell-src-exts and such. Aligning imports will probably be trivial once that is done, but the work of integrating it now would probably also be wasted. That sounds

Re: [Haskell-cafe] gd on Win32

2010-07-02 Thread Christopher Done
I'll be the new maintainer. I've used it a fair bit. I'll setup a github repository. I don't have a Windows install available, but I've used Windows for development in the past. Hold up. On 2 July 2010 20:00, Jason Felice jason.m.fel...@gmail.com wrote: Howdy, The listed maintainer for gd is

Re: [Haskell-cafe] gd on Win32

2010-07-02 Thread Christopher Done
On 2 July 2010 20:29, Matthew Gruen wikigraceno...@gmail.com wrote: I was wondering the same thing about submitting patches to expose more of the image functionality, including getting some functions to return Either instead of failing with a runtime error. Let me know when you get it set up.

Re: [Haskell-cafe] gd on Win32

2010-07-02 Thread Christopher Done
OK, here's the cleaned up repo. ready for action: http://github.com/chrisdone/gd Uploaded to Hackage with me as maintainer: http://hackage.haskell.org/package/gd On 2 July 2010 21:34, Christopher Done chrisd...@googlemail.com wrote: On 2 July 2010 20:29, Matthew Gruen wikigraceno...@gmail.com

Re: [Haskell-cafe] Re: Suggestions for an MSc Project?

2010-07-04 Thread Christopher Done
On 4 July 2010 12:03, John Smith volderm...@hotmail.com wrote: On 04/07/2010 12:00, Ivan Lazar Miljenovic wrote: My interests are in higher-level application programming, rather than low-level libraries or compiler hacking. What do you mean by this? Using web programming as an example, a

[Haskell-cafe] The Haskell module landscape

2010-07-04 Thread Christopher Done
I was pondering how naming Haskell packages with a proper hierarchy is quite important, and wondered what the general hierarchy of the Hackage packages was like. So I grabbed the tarball of pakage descriptions[1] from Hackage and ran a little messy Haskell script[2] and got this list:

Re: [Haskell-cafe] Re: Suggestions for an MSc Project?

2010-07-04 Thread Christopher Done
Don't you have your own ideas? I have a long line of projects *I'd* want to work on if I had the time. On 4 July 2010 20:38, John Smith volderm...@hotmail.com wrote: On 04/07/2010 15:44, Felipe Lessa wrote: What about [1]?  Such a graphical editor could be used, for example, for an EDSL.  =D

[Haskell-cafe] Merge hsql and HDBC -- there can only be one!

2010-07-06 Thread Christopher Done
One thing that would be nice is a unification of the general database libraries hsql and HDBC. What is the difference between them? Why are there two, and why are there sets of drivers for both (duplication of effort?)? I've used both in the past but I can't discern a real big difference (I used

Re: [Haskell-cafe] Merge hsql and HDBC -- there can only be one!

2010-07-07 Thread Christopher Done
at request, giving advice to people. I can say that I am quite a little PostgreSQL centric and that I have a GIS project in sight, for which I want to try to adapt hsql. Cheers,   Nick Christopher Done wrote: One thing that would be nice is a unification of the general database libraries hsql

Re: [Haskell-cafe] bug in ghci ?

2010-07-08 Thread Christopher Done
Hehe, seems like a -W-mutual-recursive-default-methods option is in order. On 8 July 2010 15:47, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: Pasqualino \Titto\ Assini tittoass...@gmail.com writes: Thanks for the explanation. What I meant is not that is a bug that it recurses but

Re: [Haskell-cafe] Comments on Haskell 2010 Report

2010-07-09 Thread Christopher Done
On 10 July 2010 01:22, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: Brandon S Allbery KF8NH allb...@ece.cmu.edu writes: On 7/8/10 22:25 , Alex Stangl wrote: 1. I.E. and e.g. should be followed by commas -- unless UK usage differs from US standards. (Page 3 and elsewhere,

[Haskell-cafe] The site has been exploited (again)

2010-07-11 Thread Christopher Done
http://haskell.org/ It says TO BUY Cilamox ONLINE, etc. Whoever has power please fix this and upgrade the bloody wiki. This is ridiculous. Point the domain at tryhaskell.org or something. I'll put a holder page up. Anything. Cheers ___ Haskell-Cafe

Re: [Haskell-cafe] The site has been exploited (again)

2010-07-12 Thread Christopher Done
On 11 July 2010 20:53, Don Stewart d...@galois.com wrote: It looks like after the Yale machine was repaved, and the mediawiki instance restored, some plugins (and templates) went missing, including those that previously prevented such spam accounts. A new machine has been purchased this week

Re: [Haskell-cafe] lists of arbitrary depth

2010-07-13 Thread Christopher Done
On 13 July 2010 10:58, vadali shlomivak...@gmail.com wrote: hello, iam really new to haskell, i want to define a function which takes as a parameter a list which can contain other lists, eg. [1,[2,3],[4,[5,6]]] how would i define a function that can iterate through the items so (in this

Re: [Haskell-cafe] Design for 2010.2.x series Haskell Platform site

2010-07-16 Thread Christopher Done
Hi Don, What's the ETA on getting the site wiki upgraded and to what version will it be? If we're looking at another couple of weeks I'll come up with a new wiki template this weekend to replace the current one. Regarding the Haskell Platform, maybe a summer theme is in order? Sunrise, here's a

Re: [Haskell-cafe] Design for 2010.2.x series Haskell Platform site

2010-07-16 Thread Christopher Done
On 16 July 2010 20:37, Don Stewart d...@galois.com wrote: chrisdone: Regarding the Haskell Platform, maybe a summer theme is in order? Sunrise, here's a whole platform upgrade. Get it while it's hot, etc.    That's a great idea! :-) Maybe you could work on a theme like this. Probably OTT.

Re: [Haskell-cafe] Design for 2010.2.x series Haskell Platform site

2010-07-17 Thread Christopher Done
On 17 July 2010 01:43, Don Stewart d...@galois.com wrote: Here's a first cut in the repo with the new design converted to CSS    http://code.haskell.org/haskell-platform/download-website/ If anyone would like to clean it up further, please send me patches to the style.css file or index.html.

Re: [Haskell-cafe] Design for 2010.2.x series Haskell Platform site

2010-07-17 Thread Christopher Done
On 17 July 2010 13:37, Andrew Coppin andrewcop...@btinternet.com wrote: Thomas Schilling wrote: Haters gonna hate. Well, I don't *hate* it. It just looks a little muddy, that's all. I tend to go for bright primary colours. But, as you say, each to their own... The actual layout isn't bad. A

Re: [Haskell-cafe] Design for 2010.2.x series Haskell Platform site

2010-07-17 Thread Christopher Done
Of Christopher Done Sent: Saturday, July 17, 2010 14:32 To: Andrew Coppin Cc: haskell-cafe@haskell.org Subject: Re: [Haskell-cafe] Design for 2010.2.x series Haskell Platform site On 17 July 2010 13:37, Andrew Coppin andrewcop...@btinternet.com wrote: Thomas Schilling wrote: Haters gonna hate

Re: [Haskell-cafe] Design for 2010.2.x series Haskell Platform site

2010-07-17 Thread Christopher Done
the logo. That's democracy. Sure, there's always room for improvement.  Usability tests would be nice, but they're also time consuming. This is what I said: On 17 July 2010 13:31, Christopher Done chrisd...@googlemail.com wrote: Sadly nobody has the time nor inclination to do proper web

Re: [Haskell-cafe] RE: Design for 2010.2.x series Haskell Platform site (Don Stewart)

2010-07-17 Thread Christopher Done
On 17 July 2010 18:18, Niemeijer, R.A. r.a.niemei...@tue.nl wrote: Here's my take on the new design: Screenshot: http://imgur.com/9LHvk.jpg Live version: http://dl.dropbox.com/u/623671/haskell_platform_redesign/index.htm O, I like it! Nice one for building it. Would you consider doing a

Re: [Haskell-cafe] Design for 2010.2.x series Haskell Platform site

2010-07-17 Thread Christopher Done
Thought I'd bring Neimeijer's design into the mix, because I think it's brilliant (and it's been built): (For some reason it didn't appear in this thread in my GMail inbox; perhaps the Subject field got altered. Posting this here incase it happened like that for everyone else so that we can

Re: [Haskell-cafe] Re: Hackage survey

2010-07-20 Thread Christopher Done
Do you value libraries/tools that are shipped through Hackage? * Yes, I always use only libraries/tools available on Hackage * Yes, but if a package is not available on Hackage, I will still use it I'm torn between the first two. I picked the first. If it's not available on Hackage, I

Re: [Haskell-cafe] Re: gd on Win32

2010-07-21 Thread Christopher Done
using MinGW. Cheers, Kevin On Jul 3, 12:27 am, Christopher Done chrisd...@googlemail.com wrote: OK, here's the cleaned up repo. ready for action: http://github.com/chrisdone/gd Uploaded to Hackage with me as maintainer:http://hackage.haskell.org/package/gd On 2 July 2010 21:34, Christopher

Re: [Haskell-cafe] Experiences with cabal-install and Hackage

2010-07-22 Thread Christopher Done
That sounds like a good idea. I'd like to know when my packages fail to build or show warnings about deprecated features, etc. On 22 July 2010 09:16, Ketil Malde ke...@malde.org wrote: I've rather recently started to use cabal-install to install packages from Hackage.  Unfortunately, so far

Re: [Haskell-cafe] Experiences with cabal-install and Hackage

2010-07-22 Thread Christopher Done
I don't know how wise that is; I tend to fix packages when I find they're broken. I'd prefer a way for there to be more than one maintainer for a package, i.e., collaborators, like on Github, so that a maintainer can add me as a collaborator. My only problem with Hackage is I feel like the

Re: [Haskell-cafe] Haskell Forum

2010-07-26 Thread Christopher Done
I'd only really go on a Haskell forum hosted at haskell.org. If there wlil be one, I'd moderate. Only things a forum has over a mailing list is syntax highlighting and attachments imo. Cons are being tied to a web site, anonymity, existence of moderators, etc. Seems a bit like spreading the

Re: [Haskell-cafe] Memory and Threads - MVars or TVars

2010-07-29 Thread Christopher Done
This could be useful: Beautiful concurrency by Simon Peyton Jones http://research.microsoft.com/en-us/um/people/simonpj/papers/stm/beautiful.pdf On 29 July 2010 02:23, Eitan Goldshtrom thesource...@gmail.com wrote: Hi everyone. I was wondering if someone could just guide me toward some good

Re: [Haskell-cafe] Maybe to Either -- is there a better way?

2010-08-02 Thread Christopher Done
It's available in MissingH: http://hackage.haskell.org/packages/archive/MissingH/latest/doc/html/Data-Either-Utils.html#v:maybeToEither You can find this using Hayoo, which indexes Hackage. MissingH is pretty huge, though, just for one function. It's kind of annoying. I'm using this function in

Re: [Haskell-cafe] ANNOUNCE: DSTM 0.1.1

2010-08-03 Thread Christopher Done
This is very cool, thanks for writing it. I will try it when I get home tonight. On 3 August 2010 10:35, Frank Kupke f...@informatik.uni-kiel.de wrote: Hi, DSTM is an implementation of a robust distributed Software Transactional Memory (STM) library for Haskell. Many real-life applications

Re: [Haskell-cafe] Software architecture

2010-08-04 Thread Christopher Done
This came up a month or so ago, Don Stewart and others overviewed this topic in detail: http://www.haskell.org/pipermail/haskell-cafe/2010-May/077154.html On 4 August 2010 13:07, Charles-Pierre Astolfi c...@crans.org wrote: Hey there, I'm searching for software designs in Haskell ; for

Re: [Haskell-cafe] ANNOUNCE: DSTM 0.1.1

2010-08-04 Thread Christopher Done
On 4 August 2010 10:43, Chris Eidhof ch...@eidhof.nl wrote: This looks very cool! It would be nice to put the pdf online somewhere, and add a link from the package documentation Regarding that, it would be nice if Hackage let you access the files in the package instead of having to extract the

Re: [Haskell-cafe] Maybe to Either -- is there a better way?

2010-08-04 Thread Christopher Done
On 4 August 2010 18:40, Alexander Dunlap alexander.dun...@gmail.com wrote: It's also nice for people reading code if common functions are functions from common libraries. This allows readers' vocabulary of common functions to increase, so they don't have to trawl through someone's personal

[Haskell-cafe] Video for Linux (v4l) library for Haskell

2009-12-27 Thread Christopher Done
hack on theirs! Cheers! Christopher Done ¹ In fact, the only Google result is a posting to this mailing list asking if there is a v4l library to which the single response is no, write an FFI interface. ² http://pages.cpsc.ucalgary.ca/~sayles/VFL_HowTo/ and http://pages.cpsc.ucalgary.ca/~sayles

Re: [Haskell-cafe] hdbc-mysql broken on snow-leopard?

2010-08-08 Thread Christopher Done
Did you install libmysqlclient? sudo port install should handle this, IIRC. There's also this problem in general with MySQL, it seems: http://www.google.co.uk/#q=libmysqlclient+os+x On 8 August 2010 03:27, Carter Schonwald carter.schonw...@gmail.com wrote: Hey All, when i build hdbc-mysql and

Re: [Haskell-cafe] What is -

2010-08-08 Thread Christopher Done
In shortyes, do z - ..; foo desugars to ... = \z - foo The Haskell Report describes `do' notation in detail: http://www.haskell.org/onlinereport/exps.html#sect3.14 Real World Haskell describes its uses: http://book.realworldhaskell.org/read/io.html#io.bind On 8 August 2010 15:36, michael rice

Re: [Haskell-cafe] What is -

2010-08-08 Thread Christopher Done
On 8 August 2010 16:21, michael rice nowg...@yahoo.com wrote: getLine = \x - -- x is a string at this point [1..] = \x --- x is WHAT at this point? Num n = n A number from the list. ___ Haskell-Cafe mailing list

[Haskell-cafe] Some Haskell mode extensions

2010-08-09 Thread Christopher Done
Hi there, I've written some very simple Emacs modules for making using Haskell in Emacs a little bit nicer: http://github.com/chrisdone/haskell-mode-exts You can download the project with git, or pick and choose individual files:

Re: [Haskell-cafe] Unused import warnings.

2010-08-10 Thread Christopher Done
On 10 August 2010 22:22, Lyndon Maydwell maydw...@gmail.com wrote: Hi Cafe. I have written some QuickCheck properties in my source and am using these for testing, however, when I compile my program I get warned about unused imports: Warning: Module `Test.QuickCheck' is imported, but nothing

Re: [Haskell-cafe] Unused import warnings.

2010-08-10 Thread Christopher Done
On 10 August 2010 22:25, Lyndon Maydwell maydw...@gmail.com wrote: On Wed, Aug 11, 2010 at 4:23 AM, Christopher Done chrisd...@googlemail.com wrote: On 10 August 2010 22:22, Lyndon Maydwell maydw...@gmail.com wrote: Hi Cafe. I have written some QuickCheck properties in my source and am using

Re: [Haskell-cafe] hackage.haskell.org cannot be accessed?

2010-08-12 Thread Christopher Done
We can only be so immutable. ;-) /groan On 12 August 2010 17:50, Don Stewart d...@galois.com wrote: ivan.miljenovic: On 12 August 2010 16:45, Magicloud Magiclouds magicloud.magiclo...@gmail.com wrote: Hi,  Today I found out that I cannot access hackage.haskell.org. I have tried vpn/proxy

[Haskell-cafe] Maintainer wanted for pappy

2010-08-17 Thread Christopher Done
Hi, I thought I'd go through my uploaded Hackage packages and decide which ones I am going to maintain, which are worth others maintaining, and which are probably not worth maintaining (spoiler, most aren't). 1. Interested in and will continue maintaining: gd, higherorder, cgi-utils, fastcgi,

Re: [Haskell-cafe] Maintainer wanted for pappy

2010-08-17 Thread Christopher Done
at 5:38 PM, Christopher Done chrisd...@googlemail.com wrote: 1. Interested in and will continue maintaining: gd, higherorder, cgi-utils, fastcgi, ircbouncer Just out of curiosity, why do you use gd instead of cairo? Cheers! =) -- Felipe

Re: [Haskell-cafe] Maintainer wanted for pappy

2010-08-18 Thread Christopher Done
On 18 August 2010 01:30, John Meacham j...@repetae.net wrote: On Tue, Aug 17, 2010 at 10:38:53PM +0200, Christopher Done wrote: 2. Not really interested in maintaining, but in a good state and probably worth maintaining: pappy (Bryan Ford gave me permission to upload and for someone

Re: [Haskell-cafe] Embedded scripting Language for haskell app

2010-08-18 Thread Christopher Done
On 18 August 2010 01:41, Felipe Lessa felipe.le...@gmail.com wrote: On Tue, Aug 17, 2010 at 7:07 PM, Christopher Done chrisd...@googlemail.com wrote: Sadly this is true. I went ahead and tested this to confirm; compiled mueval (which uses hint), copied the executable to a virtual machine

[Haskell-cafe] Creating binary distributions with Cabal

2010-08-20 Thread Christopher Done
Does Cabal have a way to produce binary distributions from a package? I need to create a binary distribution of my project which does not depend on GHC or any development tools. The package should include all required data files and configuration files. I've got the latter covered with Data-Files

Re: [Haskell-cafe] Code that writes code

2010-08-20 Thread Christopher Done
Check out the userHooks in Cabal[1]. I believe you can use, e.g. hookedPreProcessors[2], or preBuild to preprocess your files into regular Haskell files before building takes place. [1]: http://www.haskell.org/ghc/docs/6.12.1/html/libraries/Cabal/Distribution-Simple-UserHooks.html#t%3AUserHooks

Re: [Haskell-cafe] Creating binary distributions with Cabal

2010-08-20 Thread Christopher Done
On 20 August 2010 11:43, Duncan Coutts duncan.cou...@googlemail.com wrote: On 20 August 2010 10:18, Christopher Done chrisd...@googlemail.com wrote: Does Cabal have a way to produce binary distributions from a package? No but it's not too hard to do. If you actually want an RPM or a DEB etc

Re: [Haskell-cafe] Creating binary distributions with Cabal

2010-08-20 Thread Christopher Done
Hey autopackage looks swish! WiX also looks like a nice, more native solution for Windows. Cheers! On 20 August 2010 11:36, Magnus Therning mag...@therning.org wrote: On Fri, Aug 20, 2010 at 10:18, Christopher Done chrisd...@googlemail.com wrote: Does Cabal have a way to produce binary

Re: [Haskell-cafe] Changing my Profile

2010-08-23 Thread Christopher Done
I don't know about doing it at the server side. I've been trying to setup the right filters and quick links in my GMail to filter out emails I'm not interested. I'd like to recieve *all* emails, but be able to filter out the ones I'm not interested in so I never see them again. I tried an

Re: [Haskell-cafe] TryHaskell in the classroom!

2010-09-04 Thread Christopher Done
On 4 September 2010 02:02, Fritz Ruehr fru...@willamette.edu wrote: I just wanted to send out a more public Thanks! to Chris Done for the tryhaskell.org website and to everyone else (including Chris) who was on the #haskell channel of IRC this afternoon when I tried haskell, along with the

Re: [Haskell-cafe] ANNOUNCE: Haddock version 2.8.0 - HTML vs. XHTML

2010-09-06 Thread Christopher Done
On 6 September 2010 17:11, Mark Lentczner ma...@glyphic.com wrote: On Sep 6, 2010, at 2:40 AM, Henning Thielemann wrote: ... focusing on a small set of assumed popular browsers ... I didn't want to assume either. I ran a survey of the Haskell community and got over a 150 responses. On Sep

Re: [Haskell-cafe] Unified Haskell login

2010-09-19 Thread Christopher Done
OpenID sounds like a plan. I'll probably add OpenID support to hpaste.org for management over pastes/remembering user details/default language, tracking annotations of your pastes, etc. We already have an OpenID Haskell implementation. Programming sites are already using it (Google,

Re: [Haskell-cafe] Web development work

2010-09-19 Thread Christopher Done
FWIW we're still looking for web programming Haskellers at CREATE-NET! http://www.haskell.org/pipermail/haskell-cafe/2010-September/083550.html On 16 September 2010 09:52, Michael Snoyman mich...@snoyman.com wrote: Hi all, Often times when trying to pitch Haskell to potential clients the

[Haskell-cafe] Can't make a derived instance of `Typeable (A B)': `A' has arguments of kind other than `*'

2010-09-24 Thread Christopher Done
Suppose I have a data type: data A f = A { a :: f Integer } why can't I derive a Typeable instance like so? deriving instance Typeable (A Maybe) I get: Can't make a derived instance of `Typeable (A Maybe)': `A' has arguments of kind other than `*' In the stand-alone deriving

[Haskell-cafe] Re: Can't make a derived instance of `Typeable (A B)': `A' has arguments of kind other than `*'

2010-09-24 Thread Christopher Done
Just for what it's worth, the following does work: newtype AMaybe = AMaybe { unMaybe :: A Maybe } deriving instance Typeable AMaybe Which leads me to be kind of baffled by the above error message. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

[Haskell-cafe] Re: Can't make a derived instance of `Typeable (A B)': `A' has arguments of kind other than `*'

2010-09-24 Thread Christopher Done
Actually I suppose the newtype one makes sense because it's opaque and not paramerized so it doesn't inspect the unMaybe. I'll think about this some more. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

[Haskell-cafe] Re: Can't make a derived instance of `Typeable (A B)': `A' has arguments of kind other than `*'

2010-09-24 Thread Christopher Done
On 24 September 2010 22:18, Christopher Done chrisd...@googlemail.com wrote:    Can't make a derived instance of `Typeable (A Maybe)':      `A' has arguments of kind other than `*'    In the stand-alone deriving instance for `Typeable (A Maybe)' Nevermind, I figured it out. The arguments refer

Re: [Haskell-cafe] Web application framework comparison?

2010-09-28 Thread Christopher Done
Hmm. Maybe we should sort this out. It's incomplete. The Web category is sporadic: http://www.haskell.org/haskellwiki/Category:Web Supposing we made a Web/Foo namespace and got some proper hierarchy. Of interest to most people are: * What can I do? * How can I do it? * Who has already done it? *

Re: [Haskell-cafe] Web application framework comparison?

2010-09-28 Thread Christopher Done
On 28 September 2010 13:15, Michael Snoyman mich...@snoyman.com wrote: +1. I did the rewrite of the /Web wiki page to try to make it more accessible. If you have a better format and want to move some of that content around, feel free to do so. Also, if you need any content or other assistance,

  1   2   3   >