[Haskell-cafe] HOgg 0.3.0 Released

2007-12-06 Thread Conrad Parker
HOgg 0.3.0 Released --- The HOgg package provides a commandline tool for manipulating Ogg files, and a corresponding Haskell library. HOgg is in hackage, or on the web at: http://www.kfish.org/~conrad/software/hogg/ This is the second public release. The focus is on

[Haskell-cafe] data.binary get reading beyond end of input bytestring?

2010-07-28 Thread Conrad Parker
Hi, I am reading data from a file as strict bytestrings and processing them in an iteratee. As the parsing code uses Data.Binary, the strict bytestrings are then converted to lazy bytestrings (using fromWrap which Gregory Collins posted here in January: -- | wrapped bytestring - lazy bytestring

Re: [Haskell-cafe] data.binary get reading beyond end of input bytestring?

2010-07-29 Thread Conrad Parker
On 28 July 2010 23:32, Gregory Collins g...@gregorycollins.net wrote: Conrad Parker con...@metadecks.org writes: Hi, I am reading data from a file as strict bytestrings and processing them in an iteratee. As the parsing code uses Data.Binary, the strict bytestrings are then converted

Re: [Haskell-cafe] data.binary get reading beyond end of input bytestring?

2010-07-29 Thread Conrad Parker
On 29 July 2010 17:46, Duncan Coutts duncan.cou...@googlemail.com wrote: On 29 July 2010 07:53, Conrad Parker con...@metadecks.org wrote: Something smells fishy here. I have a hard time believing that binary is reading more input than is available? Could you post more code please? The issue

Re: [Haskell-cafe] Cabal question, adding data files

2006-08-23 Thread Conrad Parker
On Wed, Aug 23, 2006 at 11:36:00PM +0100, Neil Mitchell wrote: Hi The field you want is data-files, documented in section 2.1.1 of the Cabal User's Guide. That looks perfect. Is there any reason that Alex doesn't use this? I was trying to learn by example. Perhaps because Alex predates

[Haskell-cafe] Monad.Reader Licensing (Re: [Haskell] The Monad.Reader - Call for Copy)

2006-10-31 Thread Conrad Parker
Hi, On Tue, Oct 31, 2006 at 12:10:21PM +, Wouter Swierstra wrote: * License: The entire magazine should be published under a Creative Commons Attribution 2.5 License. This makes it much easier to publish, distribute, teach, and share the Reader. This license allows anyone to use

[Haskell-cafe] HOgg 0.2.0 Released

2006-12-05 Thread Conrad Parker
HOgg 0.2.0 Released --- The HOgg package provides a commandline tool for manipulating Ogg files, and a corresponding Haskell library. http://snapper.kfish.org/~conrad/software/hogg/ This is the initial public release. The focus is on correctness of Ogg parsing and production.

Re: Re: [Haskell-cafe] Building the community

2006-12-14 Thread Conrad Parker
On 15/12/06, Nicolas Frisby [EMAIL PROTECTED] wrote: ... That's not to say it was the poster's fault: any question is a good question. I agree ... 2) The welcome to the mailing list message could say if you're new to Haskell, please check this FAQ first. I'm talking big letters here; I'd

Re: [Haskell-cafe] ANNOUNCE: binary: high performance, pure binary serialisation

2007-01-29 Thread Conrad Parker
On 28/01/07, Donald Bruce Stewart [EMAIL PROTECTED] wrote: I've added raw primitives for: {put,get}Wordhost {put,get}Word16host {put,get}Word32host {put,get}Word64host which do unaligned, host-sized, host-endian packing of data. Writing is some 15% faster for Words, a bit

Re: [Haskell-cafe] A new code search engine

2007-02-14 Thread Conrad Parker
On 14/02/07, Stephane Bortzmeyer [EMAIL PROTECTED] wrote: http://www.krugle.com/ Nice :-) Unlike Google, you can specify Haskell as a language. Google CodeSearch is pretty handy though: http://www.google.com/codesearch?q=lang%3Ahaskell it seems to return code with good relevence, and can

Re: [Haskell-cafe] ANNOUNCE: enumerator, an alternative iteratee package

2010-08-19 Thread Conrad Parker
On 20 August 2010 06:29, wren ng thornton w...@freegeek.org wrote: John Millikin wrote: On Wed, Aug 18, 2010 at 23:33, Jason Dagit da...@codersbase.com wrote: The main reason I would use iteratees is for performance reasons.  To help me, as a potential consumer of your library, could you

Re: [Haskell-cafe] Re: Fwd: Semantics of iteratees, enumerators, enumeratees?

2010-08-23 Thread Conrad Parker
On 24 August 2010 14:14, Jason Dagit da...@codersbase.com wrote: I'm not a semanticist, so I apologize right now if I say something stupid or incorrect. On Mon, Aug 23, 2010 at 9:57 PM, Conal Elliott co...@conal.net wrote: So perhaps this could be a reasonable semantics? Iteratee a =

Re: [Haskell-cafe] Re: Fwd: Semantics of iteratees, enumerators, enumeratees?

2010-08-23 Thread Conrad Parker
On 24 August 2010 14:47, Jason Dagit da...@codersbase.com wrote: On Mon, Aug 23, 2010 at 10:37 PM, Conrad Parker con...@metadecks.org wrote: On 24 August 2010 14:14, Jason Dagit da...@codersbase.com wrote: I'm not a semanticist, so I apologize right now if I say something stupid

Re: [Haskell-cafe] Re: Haskell-Cafe Digest, Vol 85, Issue 20

2010-09-07 Thread Conrad Parker
Very! On Sep 8, 2010 4:45 AM, Jeff Rubard jeffrub...@gmail.com wrote: Do U like combinatory logic - or lambda calculus? It still matters, or something. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] record update

2010-09-14 Thread Conrad Parker
On 15 September 2010 04:31, Jonathan Geddes geddes.jonat...@gmail.com wrote: Wow, I had no idea there were so many record packages! This indicates a couple things to me: a) Haskell is very flexible. b) I'm not the only one who things the built-in record system isn't perfect. Digging a bit

Re: [Haskell-cafe] Idea for hackage feature

2010-09-16 Thread Conrad Parker
On 17 September 2010 10:12, Ben Millwood hask...@benmachine.co.uk wrote: On Fri, Sep 17, 2010 at 1:44 AM, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: On 17 September 2010 03:18, Henning Thielemann My suggestion is to move the Unsafe modules to a new package 'unsafe'. Then you can

Re: [Haskell-cafe] Unified Haskell login

2010-09-17 Thread Conrad Parker
On 17 September 2010 15:47, Michael Snoyman mich...@snoyman.com wrote: Hi cafe, I mentioned yesterday that I was planning on building haskellers.com. The first technicality I considered was how login should work. There are a few basic ideas: * Username/password on the site. But who wants to

Re: [Haskell-cafe] ANN: ieee version 0.7

2010-09-19 Thread Conrad Parker
On 20 September 2010 11:18, Patrick Perry patpe...@gmail.com wrote: Given that IEEE is actually a standards body and they have many standards, wouldn't it be more appropriate to call this library ieee754? If it seems important to people, I'd be happy to change the name.  I'm not religious

Re: [Haskell-cafe] ANN: ieee version 0.7

2010-09-20 Thread Conrad Parker
On 21 September 2010 12:18, John Millikin jmilli...@gmail.com wrote: On Mon, Sep 20, 2010 at 03:22, Daniel Fischer daniel.is.fisc...@web.de wrote: unsafeCoerce is not supposed to work for casts between Integral and Floating types. If you try to unsafeCoerce# between unboxed types, say

[Haskell-cafe] darcs vs. git

2010-10-06 Thread Conrad Parker
(subject changed for easy filtering of flamebait, removed libraries@) On 7 October 2010 10:45, Jason Dagit da...@codersbase.com wrote: At the risk of starting a darcs vs. git discussion I have some thoughts about the tension. On Wed, Oct 6, 2010 at 12:10 PM, Don Stewart d...@galois.com wrote:

Re: [Haskell-cafe] Haskellers.com recent changes (and I need some volunteers)

2010-10-13 Thread Conrad Parker
On 14 October 2010 14:00, Michael Snoyman mich...@snoyman.com wrote: As a side point, I'm wondering how I should let everyone know about the new features on the site. Emailing the cafe each time would be stupid (and spam); but it's the main reason people are checking it out :) I reckon it's ok

Re: [Haskell-cafe] ANNOUNCE: iteratee-compress 0.1.1

2010-10-24 Thread Conrad Parker
On 24 October 2010 20:09, Maciej Piechotka uzytkown...@gmail.com wrote: Iteratee-compress provides compressing and decompressing enumerators including flushing. Currently only gzip is provided but at least bzip is planned. Changes from previous version:  - Independent from zlib library

Re: [Haskell-cafe] Question: mime-mail and base64 encoding

2010-12-06 Thread Conrad Parker
On 7 December 2010 13:42, Michael Snoyman mich...@snoyman.com wrote: Hi all, I've gotten a request for the mime-mail package that I'd like some input on. Right now, there's the ability to fully specify whether or not to base64-encode each part in a message, but the included simpleMail

Re: [Haskell-cafe] Fun with type functions

2008-12-04 Thread Conrad Parker
2008/11/27 Simon Peyton-Jones [EMAIL PROTECTED]: can you tell us about the most persuasive, fun application you've encountered, for type families or functional dependencies? Hi, I certainly had fun with the Instant Insanity puzzle, in Monad.Reader issue 8:

Re: [Haskell-cafe] Haskell haikus

2008-12-06 Thread Conrad Parker
2008/12/7 Gwern Branwen [EMAIL PROTECTED]: On Sat, Dec 6, 2008 at 12:50 PM, Malcolm Wallace wrote: (This point, incidentally, raises a hobbyhorse of mine - Google didn't see the TMR haikus because they were in PDF. How odd. Googling for haskell haiku TMR brings up that PDF as the first hit

[Haskell-cafe] Re: [Haskell] Haskell Weekly News: March 12, 2007

2007-03-13 Thread Conrad Parker
On 13/03/07, Wolfgang Jeltsch [EMAIL PROTECTED] wrote: Am Montag, 12. März 2007 03:52 schrieb Donald Bruce Stewart: * [41]Why Publish CS Papers Without Code? 41. http://billmill.org/why_no_code Interesting! This leads me to the question how copyright of code fragments included in

Re: [Haskell-cafe] Re: [Haskell] New book: Real-World Haskell!

2007-05-24 Thread Conrad Parker
On 25/05/07, Isaac Dupree [EMAIL PROTECTED] wrote: Donald Bruce Stewart wrote: Finally, a very exciting aspect of this project is that O'Reilly has agreed to publish chapters online, under a Creative Commons License! Neat! Which one? (see e.g. Creative Commons in

Re: [Haskell-cafe] Coding Standards (Coding Conventions)

2007-05-28 Thread Conrad Parker
On 28/05/07, Donald Bruce Stewart [EMAIL PROTECTED] wrote: Our small little window manager, xmonad, also has a pretty strict style guide. where? Perhaps I need coffee, but I couldn't find this in the source (xmonad, x11-extras, XMonadContrib) or documentation links from xmonad.org :-/ Conrad.

Re: [Haskell-cafe] Too many packages on hackage? :-)

2007-07-08 Thread Conrad Parker
On 08/07/07, Neil Mitchell [EMAIL PROTECTED] wrote: Hi Looks like there's too many packages on hackage.haskell.org now for a single page listing: http://hackage.haskell.org/packages/archive/pkg-list.html Perhaps we can have a page with just the categories, with subpages hanging off?

Re: [Haskell-cafe] Re: [Haskell] Google Summer of Code 2009

2009-02-11 Thread Conrad Parker
2009/2/12 Don Stewart d...@galois.com: Thanks for the analysis, this clarifies things greatly. Feasibility and scope is a big part of how we determine what projects to work on. I agree that it's beyond the scope of a SoC project. Rather than H.263 or H.264 I was going to suggest

Re: [Haskell-cafe] Adding a builder to the bytestring package?

2011-01-23 Thread Conrad Parker
On 24 January 2011 07:29, John Millikin jmilli...@gmail.com wrote: Patch done and sent to the bytestring maintainers. For the interested, here's the benchmark chart for binary, cereal, and blaze-builder/bytestring: http://i.imgur.com/xw3TL.png Can has units? Conrad. On Wed, Jan 19, 2011

Re: [Haskell-cafe] Loading bitmap with xlib

2011-01-31 Thread Conrad Parker
On 31 January 2011 21:40, Francesco Mazzoli f...@mazzo.li wrote: Francesco Mazzoli f at mazzo.li writes: At the end I gave up and I wrote the function myself: http://hpaste.org/43464/readbitmapfile cool ... the listed maintainer for the Xlib bindings is librar...@haskell.org. Perhaps you

Re: [Haskell-cafe] A maintenance command of Haskell cabal packages

2011-03-31 Thread Conrad Parker
On 1 April 2011 10:48, Kazu Yamamoto k...@iij.ad.jp wrote: Hello cafe, Let me announce a maintenance command of Haskell cabal packages.        http://www.mew.org/~kazu/proj/cab/en/ cab is a MacPorts-like maintenance command of Haskell cabal packages. Some part of this program is a

Re: [Haskell-cafe] http://trac.haskell.org/ not redering correctly

2011-04-19 Thread Conrad Parker
On 20 April 2011 05:55, Andrew Coppin andrewcop...@btinternet.com wrote: On 17/04/2011 11:29 AM, Erik de Castro Lopo wrote: Hi all, Trac pages aren't rendering correctly. It seems the HTTP server can't find the CSS files. See below. Cheers, Erik I'm glad it's not just me. Any danger of

Re: [Haskell-cafe] http://trac.haskell.org/ not redering correctly

2011-04-20 Thread Conrad Parker
On 21 April 2011 05:34, Andrew Coppin andrewcop...@btinternet.com wrote: I notice that there's duplicate reports of the HTML documentation in the Haskell Platform having chunks missing Which ticket numbers are these? Trac allows one of them to be closed as a duplicate. Perhaps you can do

Re: [Haskell-cafe] ANNOUNCE: iteratee-compress 0.2.0.0

2011-04-25 Thread Conrad Parker
On 23 April 2011 19:29, Maciej Piechotka uzytkown...@gmail.com wrote: Iteratee-compress provides compressing and decompressing enumerators including flushing (using John Lato's implementation). Currently only gzip and bzip is provided but LZMA is planned. Changes from previous version:  -

Re: [Haskell-cafe] Iteratee: manyToOne

2011-04-28 Thread Conrad Parker
On 28 April 2011 23:39, Dmitry Olshansky olshansk...@gmail.com wrote: Hello, does somewhere exist function with type like this - manyToOne :: [Iteratee a m b] - Iteratee a m [b] ? I.e. I need to process one input through many Iteratees indepentently in constant space and collect results.

Re: [Haskell-cafe] Haskell Weekly News: Issue 187

2011-06-23 Thread Conrad Parker
On 24 June 2011 02:24, Rogan Creswick cresw...@gmail.com wrote: On Thu, Jun 23, 2011 at 11:16 AM, Simon Michael si...@joyful.com wrote: On 6/23/11 10:49 AM, Iustin Pop wrote: FYI, a regular link (though longer) seems more appropriate to me. Don't know if other people feel the same though. I

Re: [Haskell-cafe] hledger subcommand detection, RFC

2011-08-25 Thread Conrad Parker
Hi Simon, good stuff! this is the same approach that eg. git uses, it seems to be quite flexible. I did a similar thing for a C project called oggz a while back: http://lists.xiph.org/pipermail/ogg-dev/2008-August/001110.html some other useful things you could add: * a help subcommand

Re: [Haskell-cafe] hledger subcommand detection, RFC

2011-08-29 Thread Conrad Parker
On 27 August 2011 00:23, Simon Michael si...@joyful.com wrote: Thanks Conrad! Those are some great links. I wrapped up some manpage generation code in a package called ui-command, which is kind of orthogonal to cmdargs (ui-command just deals with subcommands). Example commands are often

Re: [Haskell-cafe] Decompressing and http-enumerator

2011-08-29 Thread Conrad Parker
On Aug 29, 2011 9:39 PM, Michael Snoyman mich...@snoyman.com wrote: On Mon, Aug 29, 2011 at 2:21 PM, Gregory Collins g...@gregorycollins.net wrote: On Mon, Aug 29, 2011 at 10:08 AM, Michael Snoyman mich...@snoyman.com wrote: Hi all, Erik just opened an issue on Github[1] that affected

Re: [Haskell-cafe] Converting wiki pages into pdf

2011-09-08 Thread Conrad Parker
On Sep 9, 2011 7:33 AM, mukesh tiwari mukeshtiwari.ii...@gmail.com wrote: Thank your for reply Daniel. Considering my limited knowledge of web programming and javascript , first i need to simulated the some sort of browser in my program which will run the javascript and will generate the pdf.

Re: [Haskell-cafe] Composing a list of Enumeratees into an Enumerator using ($=)

2011-10-03 Thread Conrad Parker
2011/10/4 Román González romanand...@gmail.com: Hey guys, Right now I'm facing with a type problem that is really nasty, I want to compose a list of enumeratees using the ($=) operator to create a new enumerator.  Whenever I'm trying to use the foldx function in conjunction with ($=) I get

Re: [Haskell-cafe] ANN: hit a reimplementation of git storage in haskell.

2011-10-04 Thread Conrad Parker
Hi Vincent, great stuff! I've also got an in-progress toy git clone called ght: http://github.com/kfish/ght. It only reads, no write support and no revspec parsing. I tried to keep close to the git design, using mmap and Ptr-based binary search to read pack indices etc. Doing so seems fairly

Re: [Haskell-cafe] ANNOUNCE: vector-bytestring-0.0.0.0

2011-10-17 Thread Conrad Parker
On 15 October 2011 23:18, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: On 16 October 2011 01:15, Bas van Dijk v.dijk@gmail.com wrote: I agree that you shouldn't use ByteStrings or Vectors of Word8s for Unicode strings. However I can imagine that for quick sessions in ghci it can

Re: [Haskell-cafe] Question on `runState'

2011-10-17 Thread Conrad Parker
On 17 October 2011 23:59, Captain Freako capn.fre...@gmail.com wrote: In this excerpt from the `StateArrow' page: runState :: Arrow a = StateArrow s a e b - a (e, s) (b, s)Source what's the significance of having written StateArrow s a e b, instead of StateArrow s a b c? In the context of

[Haskell-cafe] haskell-janitors (was Re: New rss maintainer)

2011-10-23 Thread Conrad Parker
On 22 October 2011 22:52, Bas van Dijk v.dijk@gmail.com wrote: I released a new rss: http://hackage.haskell.org//package/rss-3000.2.0 It no longer requires old-time and is tested with the latest versions of its dependencies. On 21 October 2011 17:34, Vincent Hanquez t...@snarc.org

Re: [Haskell-cafe] hello Haskell

2011-10-23 Thread Conrad Parker
On 24 October 2011 10:57, Daniel Fischer daniel.is.fisc...@googlemail.com wrote: On Monday 24 October 2011, 03:54:09, Erik de Castro Lopo wrote: R J wrote: hey Haskell this is nuts http://www.business10i.com hey Haskell this is nuts ://xxx.xxx.xxx Maybe its time to moderate all

Re: [Haskell-cafe] blanket license for Haskell Platform?

2011-10-25 Thread Conrad Parker
Isn't the question just about packages included in the Haskell Platform, for which The current set of [acceptable] licenses is just the BSD3 license: http://trac.haskell.org/haskell-platform/wiki/AddingPackages#Interimlicensepolicy http://trac.haskell.org/haskell-platform/ticket/85 It might be

Re: [Haskell-cafe] Hackage feature request: E-mail author when a package breaks

2011-11-01 Thread Conrad Parker
On 1 November 2011 03:43, Alexander Kjeldaas alexander.kjeld...@gmail.com wrote: On 31 October 2011 17:22, Yitzchak Gale g...@sefer.org wrote: Gregory Crosswhite wrote: could [Hackage] have a feature where when a working package breaks with a new version of GHC the author is

Re: [Haskell-cafe] Hackage feature request: E-mail author when a package breaks

2011-11-01 Thread Conrad Parker
On Nov 1, 2011 8:45 PM, Daniel Díaz Casanueva dhelta.d...@gmail.com wrote: Then, the mailing list seems to be an option. But then I will receive mails for every package, and there is a lot of packages! Is not a lot of mails this? There is another work around? Nobody would read every build

Re: [Haskell-cafe] Drawing charts over a lot of data

2011-11-21 Thread Conrad Parker
On 21 November 2011 22:36, Felipe Almeida Lessa felipe.le...@gmail.com wrote: This doesn't directly solve your problem, but you may want to take a look at zoom-cache [1].  I've never used it myself, but it seems pretty nice. Cheers, [1] http://hackage.haskell.org/package/zoom-cache Hi,

Re: [Haskell-cafe] A Mascot

2011-11-22 Thread Conrad Parker
On 22 November 2011 13:22, Jeremy Shaw jer...@n-heptane.com wrote: Sheep are generally thought of as:  - weak and needing protection  - easily lead astray  - being lead to the slaughter  - dumb and easily lost Cool, so Haskell is made for people like me! I think Haskeller's like Haskell

Re: [Haskell-cafe] Poll: Do you want a mascot?

2011-11-23 Thread Conrad Parker
I wouldn't mind getting a lamb-astronaut tshirt with a lambda-bind logo on it for my kid, and maybe next month a lion-skateboarder with a lambda-bind on his deck, and then maybe something with a dinosaur. I guess I don't really want a mascot either, but I like this artwork. Conrad. On 24

Re: [Haskell-cafe] Composing Enumeratees in enumerator

2011-12-25 Thread Conrad Parker
On 24 December 2011 05:47, Michael Craig mks...@gmail.com wrote: I've been looking for a way to compose enumeratees in the enumerator package, but I've come up with nothing so far. I want this function (=$=) :: Monad m = Enumeratee a0 a1 m b - Enumeratee a1 a2 m b - Enumeratee a0 a2 m b I'm

Re: [Haskell-cafe] feed release plan

2012-01-15 Thread Conrad Parker
On 14 January 2012 04:05, Johan Tibell johan.tib...@gmail.com wrote: On Fri, Jan 13, 2012 at 10:46 AM, Simon Michael si...@joyful.com wrote: Aha, thanks both. The haskell organisation looks bigger, I think I'd like to upload feed there. Could the owner add contact info or a how-to-join note

Re: [Haskell-cafe] The State of Testing?

2012-02-02 Thread Conrad Parker
On 3 February 2012 06:30, Michael Craig mks...@gmail.com wrote: I'm comfortable writing tests in QuickCheck and HUnit and bundling them as optional executables with cabal, but I understand there's a better way. Specifically, I'm looking at the test-framework package and cabal's (newish)

Re: [Haskell-cafe] The State of Testing?

2012-02-02 Thread Conrad Parker
On 3 February 2012 08:30, Johan Tibell johan.tib...@gmail.com wrote: On Thu, Feb 2, 2012 at 4:19 PM, Conrad Parker con...@metadecks.org wrote: I've followed what Johan Tibbell did in the hashable package: If I had known how much confusion my childhood friends would unleash on the Internet

Re: [Haskell-cafe] Hackage 2 maintainership

2012-02-14 Thread Conrad Parker
On 15 February 2012 00:16, Ben Gamari bgamari.f...@gmail.com wrote: On Tue, 14 Feb 2012 02:06:16 +, Duncan Coutts duncan.cou...@googlemail.com wrote: On 14 February 2012 01:53, Duncan Coutts duncan.cou...@googlemail.com wrote: Hi Ben, snip Ah, here's the link to my last go at

Re: [Haskell-cafe] ANN: network-socket-options 0.1

2012-02-21 Thread Conrad Parker
On 21 February 2012 14:57, Joey Adams joeyadams3.14...@gmail.com wrote: I added a new package containing wrappers for getsockopt and setsockopt:    http://hackage.haskell.org/package/network-socket-options The network package already has getSocketOption and setSocketOption. The problem is,

Re: [Haskell-cafe] ANN: network-socket-options 0.1

2012-02-23 Thread Conrad Parker
On 24 February 2012 01:01, Joey Adams joeyadams3.14...@gmail.com wrote: On Wed, Feb 22, 2012 at 10:23 PM, Johan Tibell johan.tib...@gmail.com wrote: But the network package doesn't try to let you work with raw file descriptors elsewhere (e.g. send and recv.) I'm not saying that functions on

Re: [Haskell-cafe] good lightweight web-framework like sinatra?

2012-03-22 Thread Conrad Parker
On 23 March 2012 04:55, Mark Wotton mwot...@gmail.com wrote: Try Miku. https://github.com/nfjinjing/miku some oddnesses around redefining (-) (I guess Jinjing Wang doesn't like the way $ looks?) but you don't need to import the Air.Light stuff. Otherwise more or less a straight port of

Re: [Haskell-cafe] webcam library on github

2012-05-24 Thread Conrad Parker
On 25 May 2012 06:20, . ch.go...@googlemail.com wrote: Hello Cafe, since I haven't found anything like that, I wrote a small library [1] to read from a webcam in Haskell, using V4L on Linux. It uses the v4l2 package and repa for images. Is anyone interested in contributing to that, or giving

Re: [Haskell-cafe] Why does (++ !) bla return bla! and not !bla?

2012-06-21 Thread Conrad Parker
On 22 June 2012 12:54, Hilco Wijbenga hilco.wijbe...@gmail.com wrote: Hi all, I'm going through the excellent http://learnyouahaskell.com tutorial. So far it's been pretty easy to follow but now I ran into something that (when I later started reading about maps) do not seem to fully grasp.

Re: [Haskell-cafe] wondering about a MonadIO instance for a heap data type

2012-07-11 Thread Conrad Parker
On 12 July 2012 06:19, Qi Qi qiqi...@gmail.com wrote: Hi, I was wondering about creating an instance of MonadIO for a heap data. Any hints? data Heap a = E | T Int a (Heap a) (Heap a) deriving (Eq, Ord, Read, Show) The reason is that I want to use liftIO during a heapsort to print

Re: [Haskell-cafe] Platform Versioning Policy: upper bounds are not our friends

2012-08-15 Thread Conrad Parker
On 16 August 2012 03:38, Bryan O'Sullivan b...@serpentine.com wrote: Hi, folks - I'm sure we are all familiar with the phrase cabal dependency hell at this point, as the number of projects on Hackage that are intended to hack around the problem slowly grows. I am currently undergoing a

Re: [Haskell-cafe] ANNOUNCE: Sylvia, a lambda calculus visualizer

2012-10-01 Thread Conrad Parker
On 27 September 2012 14:51, Chris Wong chrisyco+haskell-c...@gmail.com wrote: Hello all Some of you in the audience may have read Dave Keenan's paper, [To Dissect a Mockingbird][]. A subset of that may have wondered if it was possible to generate those pretty pictures programmatically. For

Re: [Haskell-cafe] delete http://www.haskell.org/haskellwiki/Haskell_IDE

2012-11-28 Thread Conrad Parker
On 29 November 2012 01:08, Roman Beslik rabes...@gmail.com wrote: Hi. There is more verbose page http://www.haskell.org/haskellwiki/IDEs . I registered on http://www.haskell.org/haskellwiki/ , but have not found the Delete Page command, wiki software help pages, or feedback channel, so I'm

Re: [Haskell-cafe] ANN: monad-bool 0.1

2013-01-22 Thread Conrad Parker
On 23 January 2013 08:04, John Wiegley jo...@fpcomplete.com wrote: monad-bool implements a pair of Boolean monoids and monads, to support short-circuiting, value-returning computations similar to what Python and Ruby offer with their native and || operators. ... Use 'onlyIf' with AndM and

Re: [Haskell-cafe] ANN: monad-bool 0.1

2013-01-22 Thread Conrad Parker
On 23 January 2013 09:25, John Wiegley jo...@fpcomplete.com wrote: Conrad Parker con...@metadecks.org writes: these sound powerful, but how would I do something esoteric like if/elseIf/endIf ? Can you show me an example of what you'd like to express? Your examples look vaguely like

Re: [Haskell-cafe] Associated types for number coercion

2013-03-19 Thread Conrad Parker
On 20 March 2013 06:58, Christopher Done chrisd...@gmail.com wrote: From the paper Fun with Type Funs, it's said: One compelling use of such type functions is to make type coercions implicit, especially in arithmetic. Suppose we want to be able to write add a b to add two numeric values a and

Re: [Haskell-cafe] GSoC Project Proposal: Markdown support for Haddock

2013-04-08 Thread Conrad Parker
On 6 April 2013 01:57, John Wiegley jo...@fpcomplete.com wrote: Johan Tibell johan.tib...@gmail.com writes: I suggest that we implement an alternative haddock syntax that's a superset of Markdown. Definite +1 from me too. +1 Conrad. ___

Re: [Haskell-cafe] Markdown extension for Haddock as a GSoC project

2013-04-29 Thread Conrad Parker
On 30 April 2013 09:28, Richard A. O'Keefe o...@cs.otago.ac.nz wrote: On 29/04/2013, at 10:04 PM, kudah wrote: On Mon, 29 Apr 2013 18:04:47 +1200 Richard A. O'Keefe o...@cs.otago.ac.nz wrote: so that there is no possibility of catching errors early; by definition in that processor there

Re: [Haskell-cafe] Google Summer of Code Proposal - Communicating with mobile devices

2013-05-02 Thread Conrad Parker
On 3 May 2013 08:53, Marcos Pividori marcospivid...@gmail.com wrote: Greetings, I am a Computer Science student from Argentina. I am interested in working this summer in a project related to Haskell for the Google Summer of Code. I have been discussing my idea with Michael Snoyman in order to

Re: [Haskell-cafe] Hackage checking maintainership of packages

2013-05-05 Thread Conrad Parker
On 6 May 2013 09:42, Felipe Almeida Lessa felipe.le...@gmail.com wrote: Just checking the repo wouldn't work. It may still have some activity but not be maintained and vice-versa. ok, how about this: if the maintainer feels that their repo and maintenance activities are non-injective they can

Re: [Haskell-cafe] Stream processing

2013-05-12 Thread Conrad Parker
On 11 May 2013 19:24, Ertugrul Söylemez e...@ertes.de wrote: However, my real question hasn't been answered so far. Is my formulation of the stream processing problem accurate/complete? Yes, you've summarized the commonly asked questions well. Perhaps you could make a wiki page which lists

Re: [Haskell-cafe] Hackage Update Brigade

2013-05-27 Thread Conrad Parker
On 28 May 2013 05:29, Alexander Solla alex.so...@gmail.com wrote: As per recent discussions, I'm making a list of volunteers who are willing to pick up some slack in Hackage package maintenance, so that we can submit an amendment to the Haskell Prime Committee's ticket 113

Re: [Haskell-cafe] Hackage Update Brigade

2013-05-28 Thread Conrad Parker
On 29 May 2013 08:54, Lyndon Maydwell maydw...@gmail.com wrote: How can I join the group? by asking any of the current members :) I've added you. P.S. I've attached a simple image for the Gravatar if it looks okay. great, can you add it? Conrad. On Tue, May 28, 2013 at 12:40 PM, Conrad

Re: [Haskell-cafe] Testing invasive proposals with Hackager

2013-06-12 Thread Conrad Parker
On 13 June 2013 09:59, Niklas Hambüchen m...@nh2.me wrote: In many discussions we make guesses about how much code proposals like Functor = Monad would break. You can use https://github.com/dterei/Hackager to build all of Hackage (preferably in a VM). Of course many packages have external

Re: [Haskell-cafe] tangential request...

2013-06-24 Thread Conrad Parker
On 24 June 2013 23:02, Mark Lentczner mark.lentcz...@gmail.com wrote: Again, I'd say the sample doesn't bear that out. The samples with console fonts showed no signs of customization, and so one might infer that it is more likely that people are using them because they just came that way

Re: [Haskell-cafe] ordNub

2013-07-14 Thread Conrad Parker
On 15 July 2013 09:54, Joey Adams joeyadams3.14...@gmail.com wrote: On Sun, Jul 14, 2013 at 7:31 AM, Clark Gaebel cgae...@uwaterloo.ca wrote: Similarly, I've always used: import qualified Data.HashSet as S nub :: Hashable a = [a] - [a] nub = S.toList . S.fromList And i can't think of any

Re: [Haskell-cafe] ordNub

2013-07-15 Thread Conrad Parker
On 16 July 2013 10:31, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: On 16 July 2013 11:46, John Lato jwl...@gmail.com wrote: In my tests, using unordered-containers was slightly slower than using Ord, although as the number of repeated elements grows unordered-containers appears to

Re: [Haskell-cafe] Poll plea: State of GUI graphics libraries in Haskell

2013-09-26 Thread Conrad Parker
Hi Conal! Yes. I'd be very interested to help get Pan and Vertigo working. Do you have a repo somewhere? Conrad. On 27 September 2013 13:32, Conal Elliott co...@conal.net wrote: I'm polling to see whether there are will and expertise to reboot graphics and GUIs work in Haskell. I miss