Depends on the application, of course. The (on by default) parallel GC
tends to kill performance for me... you might try running both with "+RTS
-sstderr" to see if GC time is significantly higher, and try adding "+RTS
-qg1" if it is.
On Mon, Mar 4, 2013 at 2:23 PM, Łukasz Dąbek wrote:
> 2013/3
Inline.
On Sat, Feb 9, 2013 at 1:50 AM, Johan Holmquist wrote:
> I guess I fall more to the "reason about code" side of the scale
> rather than "testing the code" side. Testing seem to induce false
> hopes about finding all defects even to the point where the tester is
> blamed for not finding a
On Fri, Aug 3, 2012 at 2:35 PM, Benjamin Edwards wrote:
> I am struggling to get ctags and / or haskell mode to work with cabal-dev.
> This is quite annoying. Has anyone worked around this?
I use ghc-mod for vim and it sorta supports this... by adding
arbitrary flags to GHC in your vimrc:
let g:
On Tue, Jun 26, 2012 at 3:19 PM, Tillmann Rendel
wrote:
> A function to add up all integers in a tree:
>
> amount:: Tree -> Integer
> amount (Leaf x) = x
> amount (Branch t1 t2) = amountt1 + amountt2
>
> All fine so far. Now, consider the following additional requirement: "If the
> command-line
I'm porting lzma-enumerator over to conduits and I've run into a snag.
The output chunks from lzma can be quite large, so I'd like to stream
the results out in smaller chunks instead of tens (or hundreds) of
megabytes at a time. It seems as though this should be possible, as it
is with enumeratees,
On Tue, Jan 24, 2012 at 2:06 AM, Christopher Brown
wrote:
> I have stumbled across language-c on hackage and I was wondering if anyone
> is aware if there exists a full C++ parser written in Haskell?
>
Check out clang: http://clang.llvm.org/ and
http://hackage.haskell.org/package/LibClang
The cl
On Thu, Oct 27, 2011 at 1:00 PM, Evan Laforge wrote:
> So as far as I know there isn't really a build system
> for larger or cross language haskell repos beyond make (I've played
> with waf some, that also might be a possibility).
We use waf to drive cabal. It supports parallel builds at the 'c
On Wed, Oct 26, 2011 at 6:53 AM, Magicloud Magiclouds <
magicloud.magiclo...@gmail.com> wrote:
> But in Haskell, could I write a code to list the classes that a type
> instanced?
> TemplateHaskell as well.
>
It's possible with TemplateHaskell. Look at classInstances and the ClassI
data construc
lzma.h is part of the xz-utils package, which is available here:
http://tukaani.org/xz/
If you have any problems with the package let me know.
On Tue, Oct 4, 2011 at 3:34 PM, Paulo Pocinho wrote:
> (Thought it would be better to put this in the haskell-cafe list).
>
> Hello list.
>
> I'd like t
Is this different than the "--hide-successes" flag for test-framework? Looks
like it was added a few months back:
https://github.com/batterseapower/test-framework/commit/afd7eeced9a4777293af1e17eadab4bf485fd98f
-n
On Thu, Aug 11, 2011 at 8:21 AM, John Millikin wrote:
> The output I didn't like
It was purely just for demonstration. I did update the code with a few more
comments, but the enumerator package may not be the easiest thing to grok.
You might try putting up your current code and someone might be able to
recommend a better or easier approach.
If the git pack headers have lengths
On Wed, Jul 20, 2011 at 11:50 AM, rahul wrote:
> Unfortunately the binary protocol itself is external, so can't use a
> different
> type of compression
>
Perhaps something like this would work: https://gist.github.com/1096039
I didn't test to make sure it works, but you could probably hack toget
(/) operates on a Fractional instance... but length returns an Int, which is
not a Fractional.
You can convert the Int to a Fractional instance:
mean xs = sum xs / fromIntegral (length xs)
or try an integer division:
mean xs = sum xs `div` length xs
-n
On Thu, Jun 30, 2011 at 10:55 PM, Ruohao L
XCode 4 is for sale in the App Store for $5. You do need an account, but not
a developer account... so it may be a bit more palatable.
On Fri, Jun 3, 2011 at 1:03 PM, John D. Ramsdell wrote:
> I rarely use a Mac because it is too cute, but I bought one for my
> wife. I'd like to install GHC on h
nguages then that does definitely give it extra points in my book. :-)
>
> Cheers,
> Greg
>
>
> On 5/14/11 6:12 PM, Nathan Howell wrote:
>
> Waf supports parallel builds and works with GHC without too much trouble. I
> use it in a mixed Haskell, C++, Scala and Python
Waf supports parallel builds and works with GHC without too much trouble. I
use it in a mixed Haskell, C++, Scala and Python build. If there is interest
I could conceivably clean up the ghc waf tool and release it.
On Sat, May 14, 2011 at 5:32 PM, Gregory Crosswhite <
gcr...@phys.washington.edu> w
On Mon, Dec 6, 2010 at 8:42 PM, Michael Snoyman wrote:
> The request is to make both the HTML and plain text parts use base64
> encoding by default. This *seems* to me to make a lot of sense, since
> it will ensure that your message arrives exactly as you intended it,
> and will ensure that any no
On Sat, Oct 16, 2010 at 8:45 AM, Brandon S Allbery KF8NH
wrote:
> I thought Windows already had a system message for something like that. Or
> at least it used to, although I can see why it would have been removed or at
> least deprecated.
You're probably thinking of CreateMemoryResourceNotifica
There is an existing implementation on hackage:
http://hackage.haskell.org/packages/archive/gdiff/1.0/doc/html/Data-Generic-Diff.html
On Thu, Aug 12, 2010 at 11:45 AM, Sergey Mironov wrote:
> 2010/8/8 Stephen Tetley :
>> Maybe this paper is close?
>>
>> Type-safe diff for families of datatypes
>
19 matches
Mail list logo