On Tue, Feb 21, 2012 at 7:36 PM, Iavor Diatchki
iavor.diatc...@gmail.com wrote:
Hello,
I made a new version of `hp2html` (0.2), which shows the legend by default
(take a look at at the attached screen shot). If the legend is in the way,
you can turn it off (and on) by clicking on the button
Hi Conrad and Joey,
On Tue, Feb 21, 2012 at 4:36 PM, Conrad Parker con...@metadecks.org wrote:
awesome! I've prepared some patches for network to add this module and
its tests, in this branch:
https://github.com/kfish/network/tree/options
I didn't modify any other modules, perhaps
Hi,
On Wed, Feb 22, 2012 at 10:43 AM, Joey Adams joeyadams3.14...@gmail.com wrote:
I know it's a bit ugly, but not having it makes it hard to work with
unmanaged sockets (e.g. those buried under Handles). If the functions
take a managed Socket, you'd have to say something like:
2012/2/23 Maxime Henrion mhenr...@gmail.com:
According to criterion, the performance of the old generic-deepseq code
was 6 to 7 times worse than that of the deepseq package. After switching
the class function to rnf, it got on par, if not better than the deepseq
package. I'm saying if not,
Hi all,
Anyone interested in acting as an admin for haskell.org this year? I'm
afraid I won't have time. It's not that much work (filling in some
information, sending out some emails, making sure things happen in time.)
-- Forwarded message --
From: Carol Smith car...@google.com
On Wed, Feb 29, 2012 at 6:29 AM, Ryan Newton rrnew...@gmail.com wrote:
Is there any official way that mentors should sign up to become part of
the org?
For one thing I heard a rumor that bigger orgs look better from Google's
end.
Once haskell.org is registered as an organization you need
On Thu, Mar 1, 2012 at 12:54 PM, Ganesh Sittampalam gan...@earth.li wrote:
FYI, Edward Kmett has volunteered to do it again.
That's great since he's the most experienced GSoC admin we have. :)
There's still room for a replacement for me. I had a few people show
interest so far.
On Thu, Mar 1, 2012 at 1:42 PM, Ganesh Sittampalam gan...@earth.li wrote:
On 01/03/2012 21:37, Johan Tibell wrote:
On Thu, Mar 1, 2012 at 12:54 PM, Ganesh Sittampalam gan...@earth.li
mailto:gan...@earth.li wrote:
FYI, Edward Kmett has volunteered to do it again.
That's great
On Sun, Mar 11, 2012 at 8:38 PM, E R pc88m...@gmail.com wrote:
1. leave it to the compiler to find these kinds of opportunities
2. just use the immutable data structures - after all they are just as
good (at least asymptotically)
3. you don't want to use mutable data structures because of
Hi all,
The derived Show instance is useful, but I sometimes wish for
something that's easier to read for big data types. Does anyone have
an implementation of show that draws things in a hierarchical manner?
Example:
Given
data Tree a = Leaf | Bin Int a (Tree a) (Tree a)
and
value =
On Wed, Mar 14, 2012 at 5:50 PM, wren ng thornton w...@freegeek.org wrote:
Do note, however, that in certain cases the ST approach can be much slower
than the obvious immutable approach (i.e., the State monad--- especially
when implemented directly via argument passing, rather than using the
Hi all,
After a discussion with Philip Weaver and a few other interested
parties in the community we've moved Philip's repo from
https://github.com/pheaver/haskell-mode to the new official location
at:
https://github.com/haskell/haskell-mode
You can file bugs/feature requests at:
I suggest you file a bug. :)
https://github.com/bos/text/issues
-- Johan
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
On Fri, Mar 16, 2012 at 3:48 PM, Aleksey Khudyakov
alexey.sklad...@gmail.com wrote:
On 17.03.2012 02:24, Johan Tibell wrote:
I suggest you file a bug. :)
I'm way too lazy for that. Also I don't want to steal
joy of reporting a bug from people who actually suffer
from it
I meant you
On Sat, Mar 17, 2012 at 8:21 AM, Kit Barnes k...@ninjalith.com wrote:
I have a proposal for a GSoC project that I wish to undertake. Is this a
good place for me to begin discussing it?
Yes!
-- Johan
___
Haskell-Cafe mailing list
Augustsson (Standard Chartered Bank)
* Manuel M T Chakravarty (University of New South Wales)
* Gregory Collins - co-chair (Google)
* Simon Marlow (Microsoft Research)
* David Terei(Stanford University)
* Johan Tibell - co-chair(Google
On Mon, Apr 23, 2012 at 7:53 AM, Max Rabkin max.rab...@gmail.com wrote:
On Mon, Apr 23, 2012 at 15:01, Paul Graphov grap...@gmail.com wrote:
And what should I do if he is
unreachable?
My feeling is that if you are willing to take it on, you should ask
this list if anybody objects to your
On Mon, Apr 23, 2012 at 7:42 AM, Niklas Broberg
niklas.brob...@gmail.com wrote:
Hi all,
I have problems with my trac for haskell-src-exts. When I log in, I am asked
to verify my email address, but no verification token is ever sent to my
email address. And before I verify my address, I'm not
in the strict and lazy APIs are the same, so
you can still use the same container in a mixed manner, if needed.
Contributors to this release:
Milan Straka
Johan Tibell
Joachim Breitner
Edward Z. Yang
Herbert Valerio Riedel
Matt West
Max Bolingbroke
Cheers,
The containers maintainers
Hi Morten,
If speed is really important I would go with the vector package. It
has a more modern API and better performance.
-- Johan
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
On Tue, Jun 5, 2012 at 9:12 AM, Warren Harris warrensomeb...@gmail.com wrote:
which helps in many cases, but for some the parsing seems bi-stable,
alternating between two imprecise double values and causing the test to fail.
You want to perform your test as
d1 - d2 epsilon
where epsilon
On Tue, Jun 5, 2012 at 9:51 AM, Warren Harris warrensomeb...@gmail.com wrote:
On Jun 5, 2012, at 9:38 AM, Johan Tibell wrote:
You want to perform your test as
d1 - d2 epsilon
What's the best way to do this though, since aeson's Value type already
provides instance Eq? I guess I can
On Tue, Jun 5, 2012 at 10:51 AM, Bryan O'Sullivan b...@serpentine.com wrote:
If you need the full precision, use rational instead. The double parser is
there because parsing floating point numbers is often a bottleneck, and
double intentionally trades speed for precision.
Relevant code in
Welcome to the community Bartosz.
-- Johan
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Hi Andrew,
On Thu, Jun 7, 2012 at 5:39 PM, Andrew Myers asm...@gmail.com wrote:
Hi Cafe,
I'm working on inspecting some data that I'm trying to represent as records
in Haskell and seeing about twice the memory footprint than I was
expecting. I've got roughly 1.4 million records in a CSV file
On Fri, Jun 8, 2012 at 1:40 PM, Johan Tibell johan.tib...@gmail.com wrote:
GHC used to complain when you use UNPACK with something that can't be
unpacked, but that warning seems to have been (accidentally) removed
in 7.4.1.
Turns out the warning is only on if you compile with -O or higher
Augustsson (Standard Chartered Bank)
* Manuel M T Chakravarty (University of New South Wales)
* Gregory Collins - co-chair (Google)
* Simon Marlow (Microsoft Research)
* David Terei(Stanford University)
* Johan Tibell - co-chair(Google
Some functions in the network package are:
NOTE: blocking on Windows unless you compile with -threaded (see
GHC ticket #1129)
This note does appear next to 'accept', but could you try to compile
with -threaded and see if that makes a difference?
-- Johan
Augustsson (Standard Chartered Bank)
* Manuel M T Chakravarty (University of New South Wales)
* Gregory Collins - co-chair (Google)
* Simon Marlow (Microsoft Research)
* David Terei(Stanford University)
* Johan Tibell - co-chair(Google
Reminder. The deadline is end-of-day this Tuesday.
On Tue, Jul 3, 2012 at 7:17 AM, Johan Tibell johan.tib...@gmail.com wrote:
Call for Talks
ACM SIGPLAN Haskell Implementors' Workshop
http://haskell.org/haskellwiki/HaskellImplementorsWorkshop
-Chairs:
Gregory Collins, Google
Johan Tibell, Google
* Program Committee:
Lennart Augustsson, Standard Chartered Bank
Manuel M T Chakravarty, University of New South Wales
Simon Marlow, Microsoft Research
David Terei, Stanford University
Hi Till,
This would make an excellent bug report at:
https://github.com/bos/criterion/issues
Cheers,
Johan
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
On Thu, Aug 9, 2012 at 8:50 PM, Kazu Yamamoto k...@iij.ad.jp wrote:
Hello,
The stable branch of the network library includes the following code:
#if !(MIN_VERSION_base(4,6,0))
I cannot compile the stable branch with HP 2011.4.0.0 on Linux 2:
Preprocessing library
+Malcom
On Sat, Aug 11, 2012 at 11:31 AM, hanjoosten han.joos...@atos.net wrote:
Hi,
Hackage seems to be down. Is there anyone out here who knows how to get it
online again?
Thanks!
--
View this message in context:
http://haskell.1045720.n5.nabble.com/Hackage-is-down-tp5715912.html
On Wed, Aug 15, 2012 at 12:38 PM, Bryan O'Sullivan b...@serpentine.com wrote:
I propose that the sense of the recommendation around upper bounds in the
PVP be reversed: upper bounds should be specified only when there is a known
problem with a new version of a depended-upon package.
This
On Wed, Aug 15, 2012 at 1:02 PM, Brandon Allbery allber...@gmail.com wrote:
So we are certain that the rounds of failures that led to their being
*added* will never happen again?
It would be useful to have some examples of these. I'm not sure we had
any when we wrote the policy (but Duncan
On Sun, Aug 26, 2012 at 12:40 PM, Iain Nicol i...@thenicols.net wrote:
Hi café,
I am successfully using a custom preprocessor to build my main
executable. In particular, I am using UUAGC to preprocess .ag files
into .hs files. My Setup.hs file uses 'uuagcLibUserHook' from the
package
On Sun, Aug 26, 2012 at 1:03 PM, Iain Nicol i...@thenicols.net wrote:
Johan Tibell wrote:
On Sun, Aug 26, 2012 at 12:40 PM, Iain Nicol i...@thenicols.net wrote:
Does anybody know if Cabal actually supports using custom
preprocessors for building a test-suite? If so, is 'buildHook' still
On Wed, Aug 29, 2012 at 10:13 AM, Alberto G. Corona agocor...@gmail.com wrote:
Where the persistent part of the name comes from?. It can be
serialized/deserialized from a persistent storage automatically or on
demand?
Persistent have two meanings unfortunately. In functional programming
it's
Hi Harald,
On Thu, Sep 6, 2012 at 9:46 AM, Harald Bögeholz b...@ct.de wrote:
Anyway, I tried this version
popCount :: Integer - Int
popCount = go 0
where
go c 0 = c
go c w = go (c+1) (w .. (w - 1))
and profiling showed that my program spent 80 % of its time counting
On Fri, Sep 7, 2012 at 4:54 AM, Nicolas Trangez nico...@incubaid.com wrote:
On Thu, 2012-09-06 at 12:07 -0700, Johan Tibell wrote:
Have a look at the popCount implementation for e.g. Int, which are
written in C and called through the FFI:
https://github.com/ghc/packages-ghc-prim/blob/master
On Sun, Sep 9, 2012 at 1:46 AM, Milan Straka f...@ucw.cz wrote:
Hi all,
is there any way to perform a destructive update on a plain ADT?
Imagine I have a simple
data Tree a = Nil | Node a (Tree a) (Tree a)
I would like to be able to modify right subtree of an existing tree.
I can do that
On Sun, Sep 9, 2012 at 2:19 AM, MigMit miguelim...@yandex.ru wrote:
Why modify it instead of creating the new one and let the previous tree get
garbage collected?
You can avoid a bunch of copying and allocation by modifying the nodes
in-place. See
On Wed, Sep 19, 2012 at 7:24 PM, sdiy...@sjtu.edu.cn wrote:
main = do
let
f 0 acc = return acc
f n acc = do
v - return 1
f (n-1) (v+acc)
f 100 100 = print
Try this
main = do
let
On Wed, Sep 19, 2012 at 8:00 PM, sdiy...@sjtu.edu.cn wrote:
So how do I force IO actions whose results are discarded (including IO ()) to
be strict?
In your particular case it looks like you want
Data.IORef.modifyIORef'. If your version of GHC doesn't include it you
can write it like so:
--
Hi,
On Wed, Sep 26, 2012 at 7:44 AM, Carter Schonwald
carter.schonw...@gmail.com wrote:
To the best of my knowledge there is absolutely no reason to use the 32bit
haskell on OS X (aside from memory usage optimization cases which likely do
not matter to the *typical* user), and the community
Adding Mark who's the release manager for the platform (and also the
maintainer of the OS X builds).
On Wed, Sep 26, 2012 at 11:57 AM, Erik Hesselink hessel...@gmail.com wrote:
On Wed, Sep 26, 2012 at 10:58 AM, Johan Tibell johan.tib...@gmail.com wrote:
On Wed, Sep 26, 2012 at 7:44 AM, Carter
On the behalf of the many contributors to cabal, I'm proud to present
cabal-install-1.16.0. This release contains almost a year worth of
patches. Highlights include:
* Parallel installs (cabal install -j)
* Several improvements to the dependency solver.
* Lots of bugfixes
We're also
On Wed, Oct 3, 2012 at 6:21 PM, José Lopes jose.lo...@ist.utl.pt wrote:
Hello,
I just tried to upgrade cabal-install using an older version and it yields
the following error:
Distribution/Client/JobControl.hs:63:6: Not in scope: `mask'
We tested on GHC 7.0.4, 7.4.1, and 7.6.1.
If you need
Hi,
On Wed, Oct 3, 2012 at 7:52 PM, Henning Thielemann
lemm...@henning-thielemann.de wrote:
I wondered whether there is a brilliant typing technique that makes
Data.Map.! a total function. That is, is it possible to give (!) a type,
such that m!k expects a proof that the key k is actually
On Wed, Oct 3, 2012 at 9:15 PM, Austin Seipp mad@gmail.com wrote:
Just a heads up: on Ubuntu 12.04 with GHC 7.4.1 out of apt (no
haskell-platform,) using the bootstrap.sh script fails, because the
constraints for CABAL_VER_REGEXP are too lax:
$ sh ./bootstrap.sh
Checking installed
On Wed, Oct 3, 2012 at 5:42 PM, Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com wrote:
On Oct 4, 2012 2:08 AM, Johan Tibell johan.tib...@gmail.com wrote:
On the behalf of the many contributors to cabal, I'm proud to present
cabal-install-1.16.0.
Why the sudden change in versioning scheme
On Thu, Oct 4, 2012 at 7:11 PM, Tim Docker t...@dockerz.net wrote:
Does this new release included the sandbox functions discussed in this blog
post:
http://blog.johantibell.com/2012/08/you-can-soon-play-in-cabal-sandbox.html
?
It doesn't. The sandbox feature requires a little UI work still.
On Fri, Oct 5, 2012 at 5:31 PM, JP Moresmau jpmores...@gmail.com wrote:
Hello, I've installed Cabal and cabal-install 1.16 (which required
network) on a new GHC 7.6.1 install and everything went well, except
now when building a package requiring network I get:
Loading package network-2.4.0.1
On Mon, Oct 8, 2012 at 3:28 AM, Christiaan Baaij
christiaan.ba...@gmail.com wrote:
Hi,
I finally found another OS X mountain lion install and can confirm the
behaviour I described earlier:
32-bit: compiled code works, interpreted code works
64-bit: compiled code works, interpreted code
Hi,
I'll make a bugfix release for cabal-install and Cabal in a few days
to include fixes to issues people found so far. If everyone who had
some problem related to the latest release could please post it here
so I can make sure that we include a fix for them. If you've already
reported it
Hi,
Thanks for the detailed problem description. I've CCed Mark Lentczner,
who designed the directory layout for the Haskell Platform on OS X.
Hopefully he'll be able to tell you what to do.
On Tue, Oct 9, 2012 at 8:31 AM, Derrell Piper d...@electric-loft.org wrote:
Hi,
New Haskell user here.
Hi all,
I've created bug fix release candidates for Cabal and cabal-install to
address the bugs found after the release. If everyone could take some
time to try them out, especially those who had issues with the
previous releases. To install the release candidates run:
cabal install
On Mon, Oct 15, 2012 at 7:16 PM, Johan Tibell johan.tib...@gmail.com wrote:
Hi all,
I've created bug fix release candidates for Cabal and cabal-install to
address the bugs found after the release.
Here's the list of fixed bugs:
Fixed since cabal-install-1.16.0:
* Fix installing from custom
Hi,
On behalf of the cabal contributors, I'm proud to announce bugfix
releases of Cabal and cabal-install. Here's a complete list of changes
since the last release:
Since Cabal-1.16.0.1:
* Bump Cabal version number to 1.16.0.2
* Fixed warnings on the generated Paths module. The warnings are
On Sun, Nov 4, 2012 at 8:35 AM, Clark Gaebel cgae...@uwaterloo.ca wrote:
@dag:
I would love for this to be merged into Data.Hashable, and I think it would
make a lot of people's lives easier, and prevent them from writing bad hash
functions accidentally.
Couldn't we do it using GHC's
On Mon, Nov 5, 2012 at 3:28 PM, Iustin Pop iu...@k1024.org wrote:
Did you mean here it's still possible to define _lazy_ arguments? The
duality of !/~ makes sense, indeed.
Yes, it would be nice to still make arguments explicitly lazy, using ~.
___
On Wed, Nov 7, 2012 at 9:03 PM, Myles C. Maxfield
myles.maxfi...@gmail.comwrote:
Does anyone know where he is? If not, is there an accepted practice to
resolve this situation? Should I upload my own 'idna2' package.
Generally we try to contact the maintainer (and give him/her enough time to
Hi Andrew,
On Fri, Nov 9, 2012 at 6:15 PM, Andrew Pennebaker
andrew.penneba...@gmail.com wrote:
Frequently when I'm coding in Haskell, the crux of my problem is
converting between all the stupid string formats.
You've got String, ByteString, Lazy ByteString, Text, [Word], and on and
on...
On Saturday, November 10, 2012, Shachaf Ben-Kiki wrote:
With Don Stewart's blessing
(https://twitter.com/donsbot/status/267060717843279872), I'll be
taking over maintainership of ghc-core, which hasn't been updated
since 2010. I'll release a version with support for GHC 7.6 later
today.
On Fri, Nov 9, 2012 at 10:22 PM, Roman Cheplyaka r...@ro-che.info wrote:
* Johan Tibell johan.tib...@gmail.com [2012-11-09 19:00:04-0800]
As a community we should primary use strict ByteStrings and Texts. There
are uses for the lazy variants (i.e. they are sometimes more efficient
On Mon, Nov 12, 2012 at 1:06 AM, Erik Hesselink hessel...@gmail.com wrote:
tl;dr: Breakages without upper bounds are annoying and hard to solve for
package consumers. With upper bounds, and especially with sandboxes,
breakage is almost non-existent.
I don't see how things break with upper
On Wed, Nov 14, 2012 at 1:01 PM, Tobias Müller trop...@bluewin.ch wrote:
Clark Gaebel cgae...@uwaterloo.ca wrote:
To prevent this, I think the PVP should specify that if dependencies get
a major version bump, the package itself should bump its major version
(preferably the B field).
No,
Hi,
On Sun, Nov 18, 2012 at 11:51 AM, Maksymilian Owsianny
maksymilian.owsia...@gmail.com wrote:
However, the problem with hackage not being able to build the package, and
therefore generate documentation, remains. So conversely my question would
be
if there is any way to get around this?
Hi Greg,
On Mon, Nov 19, 2012 at 1:25 PM, Gregory Guthrie guth...@mum.edu wrote:
I follow the Cabal-messes threads with some interest, since that is the
hardest area for me since starting to use Haskell. Probably 40-60% of all
package install fail for some mysterious reason, with threats that
On Mon, Nov 19, 2012 at 2:55 PM, Greg Fitzgerald gari...@gmail.com wrote:
cabal install -v cabal-install
Not sure if you're running into this one, but a configuration that
wasn't working for me:
1) Install Haskell Platform
2) Install GHC 7.6.1
3) cabal install cabal-install
As I
On Tue, Nov 20, 2012 at 1:10 PM, Gregory Guthrie guth...@mum.edu wrote:
Hmm,
Now when I tried to run Leksah, I get not only some broken packages (which
I can avoid for my current project), but:
** **
command line: cannot satisfy -package-id
On Tue, Nov 20, 2012 at 5:14 PM, Albert Y. C. Lai tre...@vex.net wrote:
On 12-11-20 05:37 PM, Gregory Guthrie wrote:
No; the first sentence says that someone else had reported that testing
on Windows was hard to do because of (a perceived) lack of access to
Windows by Haskell developers...
On Tue, Nov 20, 2012 at 5:34 PM, Albert Y. C. Lai tre...@vex.net wrote:
This counter-argument is flawed. Why limit oneself to one's own household?
(Garage? Basement?) Get out more! Visit a friend. Talk to an internet cafe
owner for a special deal to run one's own programs. Rent virtual machine
On Wed, Nov 21, 2012 at 9:48 AM, MigMit miguelim...@yandex.ru wrote:
Tits?
This is not appropriate for this mailing lists, please take it
elsewhere. I suggest http://www.reddit.com/r/ruby
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
Kazu and Andreas, could this be IO manager related?
On Monday, November 26, 2012, Jeff Shaw wrote:
Hello,
I've run into an issue that makes me think that when the GHC GC runs while
a Snap or Warp HTTP server is serving connections, the GC prevents or
delays TCP connections from forming. My
Hi Felix,
On Thu, Nov 29, 2012 at 10:09 AM, Fixie Fixie
fixie.fi...@rocketmail.com wrote:
The problem seems to be connected to lazy loading, which makes my programs
so slow that I really can not show them to anyone. I have tried all tricks
in the books, like !, seq, non-lazy datatypes...
My
Ack, it seems like you're running into one of these bugs (all now
fixed, but I don't know in which GHC version):
http://hackage.haskell.org/trac/ghc/search?q=doubleFromInteger
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
On Thu, Nov 29, 2012 at 1:00 PM, Fixie Fixie fixie.fi...@rocketmail.com wrote:
The program seems to take around 6 seconds on my linux-box, while the c
version goes for 0.06 sekcond.
That is really some regression bug :-)
Anyone with a more recent version thatn 7.4.1?
On 7.4.2:
$ time
On Thu, Nov 29, 2012 at 1:23 PM, Fixie Fixie fixie.fi...@rocketmail.com wrote:
That's really an argument for upgrading to 7.4.2 :-)
Another reason for doing things with haskell is this mailing list.
FYI I'm still looking into this issue as I'm not 100% happy with the
code GHC generates.
On Thu, Nov 29, 2012 at 1:32 PM, Daniel Fischer
daniel.is.fisc...@googlemail.com wrote:
We have an unpleasant regression in comparison to 7.2.* and the 7.4.* were
slower than 7.6.1 is, but it's all okay here (not that it wouldn't be nice to
have it faster still).
Are you on a 32-bit system?
On Thu, Nov 29, 2012 at 1:40 PM, Johan Tibell johan.tib...@gmail.com wrote:
This version works around the Word-Double conversion bug and shows
good performance:
I'd also like to point out that I've removed lots of bang patterns
that weren't needed. This program runs fine without any bang
On Thu, Nov 29, 2012 at 2:02 PM, Johan Tibell johan.tib...@gmail.com wrote:
On Thu, Nov 29, 2012 at 2:01 PM, Daniel Fischer
daniel.is.fisc...@googlemail.com wrote:
On Donnerstag, 29. November 2012, 13:40:42, Johan Tibell wrote:
word2Double :: Word - Double
word2Double (W# w) = D# (int2Double
On Mon, Dec 3, 2012 at 1:04 AM, Simon Hengel s...@typeful.net wrote:
I think the right thing to do is:
install:
- cabal install --only-dependencies --enable-tests
script:
- cabal configure --enable-tests cabal build cabal test
Please let me know if you think there
Hi Oleg,
On Tue, Dec 4, 2012 at 9:13 PM, o...@okmij.org wrote:
I am doing, for several months, constant-space processing of large XML
files using iteratees. The file contains many XML elements (which are
a bit complex than a number). An element can be processed
independently. After the
On Wed, Dec 5, 2012 at 12:37 PM, David Terei davidte...@gmail.com wrote:
I have always considered the LLVM code generator my responsibility and
will continue to do so. I don't seem to find the time to make
improvements to it but make sure to keep it bug free and working with
the latest LLVM
Hi,
I noticed that you're not required to export the types mentioned in
the default method signature. For example, you could have:
default hashWithSalt :: (Generic a, GHashable (Rep a)) = Int - a - Int
hashWithSalt salt = ghashWithSalt salt . from
and not export the GHashable class.
On Tue, Dec 11, 2012 at 9:31 PM, dag.odenh...@gmail.com
dag.odenh...@gmail.com wrote:
The practice seems to be to not export it, but maybe it would be a better
practice to export it. That way it can work without DefaultSignatures too,
and if you use the generic-deriving package it could work
On Wed, Dec 12, 2012 at 10:40 AM, Clark Gaebel cgae...@uwaterloo.ca wrote:
I just did a quick derivation from
http://graphics.stanford.edu/~seander/bithacks.html#RoundUpPowerOf2 to get
the highest bit mask, and did not reference FXT nor the containers
implementation. Here is my code:
On Wed, Dec 12, 2012 at 12:09 PM, Clark Gaebel cgae...@uwaterloo.ca wrote:
Possibly. I tend to trust GHC's strictness analyzer until proven otherwise,
though. Feel free to optimize as necessary.
The GHC strictness analyzer will have no troubles with this. Since the
return type is Word64,
On Wed, Dec 12, 2012 at 12:18 PM, Dmitry Kulagin
dmitry.kula...@gmail.com wrote:
Clark, Johan, thank you! That looks like perfect solution to the problem.
Clean-room reimplementation merged and released as 0.5.2.0.
___
Haskell-Cafe mailing list
On Wed, Dec 12, 2012 at 5:38 PM, Michael Orlitzky mich...@orlitzky.com wrote:
On 12/12/2012 08:15 PM, Johan Tibell wrote:
On Wed, Dec 12, 2012 at 12:18 PM, Dmitry Kulagin
dmitry.kula...@gmail.com wrote:
Clark, Johan, thank you! That looks like perfect solution to the problem.
Clean-room
On Mon, Jan 7, 2013 at 4:06 AM, Joachim Breitner
m...@joachim-breitner.de wrote:
I’m wondering if the use of deepseq to avoid unwanted lazyness might be
a too large hammer in some use cases. Therefore, I’m looking for real
world programs with ample use of deepseq, and ideally easy ways to test
Hi!
You have to look outside the place function, which is strict enough. I
would look for a call to unsafeWrite that doesn't evaluate it's
argument before writing it into the vector. Perhaps you're doing
something like:
MV.unsafeWrite (i + 1, ...)
Since tuples are lazy the i + 1 will be
Adding Bryan, who wrote this code.
On Mon, Jan 28, 2013 at 1:23 AM, jean-christophe mincke
jeanchristophe.min...@gmail.com wrote:
Hello
GHC version : 7.4.2
When I do a cabal-dev instal yesod-core, I get the following error:
Loading package blaze-builder-conduit-0.5.0.3 ... linking ...
On Tue, Jan 29, 2013 at 2:15 PM, Ganesh Sittampalam gan...@earth.li wrote:
tl;dr: I'm planning on removing the String instances from the HTTP
package. This is likely to break code. Obviously it will involve a major
version bump.
The basic reason is that this instance is rather broken in
Hi,
The pattern is essentially the same as in imperative languages; every
allocation should involve a finally clause that deallocates the
resource.
On Tue, Jan 29, 2013 at 2:59 PM, Thiago Negri evoh...@gmail.com wrote:
Should I put `Control.Exception.finally` on every single line of my
On Sat, Feb 2, 2013 at 5:14 PM, Ozgun Ataman ozata...@gmail.com wrote:
If you are doing row-by-row transformations, I would recommend giving a try
to my csv-conduit or csv-enumerator packages on Hackage. They were designed
with constant space operation in mind, which may help you here.
If
On Fri, Feb 8, 2013 at 9:53 AM, Blake Rain blake.r...@gmail.com wrote:
You need to call cabal-dev add-source on P1 again to copy over the sdist,
then do a cabal-dev install.
See notes under Using a sandbox-local Hackage on
On Fri, Feb 8, 2013 at 10:07 AM, JP Moresmau jpmores...@gmail.com wrote:
Johan, thanks, that brings me to a point that I wanted to raise. I'm
playing with cabal-dev because users have asked me to add support for it in
EclipseFP (so projects could have their own sandbox and have dependencies
401 - 500 of 534 matches
Mail list logo