On Tue, 2013-09-17 at 19:03 -0700, Johan Tibell wrote:
> 2. Use the Streaming module, which lets you skip whole records that
> fails to parse (see the docs for the Cons constructor).
Ah, that's sure to be it. Totally missed Data.Csv.Streaming. Thanks!
AfC
Sydney
_
I'm happily using Cassava to parse CSV, only to discover that
non-conforming lines in the input data are causing the parser to error
out.
let e = decodeByName y' :: Either String (Header, Vector Person)
chugs along fine until line 461 of the input when
"parse error (endOfInput) at .
On Thu, 2013-06-20 at 18:13 +0300, Roman Cheplyaka wrote:
> Namely, it can do the following:
>
> * for a module, compute its interface, i.e. the set of entities
> exported by the module, together with their original names.
>
> * for each name in the module, figure out what it refers to —
On Thu, 2013-05-09 at 11:56 +, Johannes Waldmann wrote:
> > http://hackage.haskell.org/package/intern
>
> what does this package do? OK, I can read "efficient hash consing"
> but what does it mean exactly? and how would I actually use it?
Hah. I read the same thing and came to exactly the s
On Fri, 2013-04-26 at 21:21 -0800, Christopher Howard wrote:
> Hi. I've got this work situation where I've got to do all my work on
> /ancient/ RHEL5 systems, with funky software configurations, and no root
> privileges. I wanted to install GHC in my local account, but the gnu
> libc version is so
On Thu, 2013-04-25 at 21:15 -0700, Johan Tibell wrote:
> {-# LANGUAGE Strict #-}
God, I would love this. Obviously the plugin approach could do it, but
could not GHC itself just _not create thunks_ for things unless told to
be lazy in the presence of such a pragma?
[at which point, we need an an
On Tue, 2013-03-19 at 00:47 -0400, Daniel Díaz Casanueva wrote:
> This new version also includes a new matrix renderer.
I'm surprised you had to create a new 'matrix' package; I would have
thought one of the existing math libraries would have had the types you
need?
AfC
Sydney
signature.asc
Hey,
I'd like to announce the initial release of http-streams, an HTTP client
library using the Snap Framework's io-streams library to handle the
streaming I/O.
I blogged about it the background and API design here:
http://blogs.operationaldynamics.com/andrew/software/haskell/http-streams-introdu
On Mon, 2013-02-25 at 11:59 -0800, Johan Tibell wrote:
> Simon's builder (originally developed in blaze-binary) has been merged
> into the bytestring package.
I've been meaning to ask: does this mean that ByteString's concat and
append functions will now be implemented in terms of Builder interna
On Mon, 2013-02-25 at 00:28 -0500, Dan Cross wrote:
>
> Why go to all that bother? Why not just write code that writes out
> the path you want to take and link against it?
>
{shrug} You could do that too.
I spent a decade doing work in Java-land, a language where by design we
*didn't* have #i
On Sat, 2013-02-16 at 08:18 +0100, Henk-Jan van Tuyl wrote:
> > Anyone have any idea if the Cabal library exposes this
> > somewhere?
>
> See...
I blogged about my solution using Krzysztof and Henk's suggestions here:
http://blogs.operationaldynamics.com/andrew/software/haskell/config-dot-h-and-i
On Fri, 2013-02-15 at 15:16 +0100, Krzysztof Skrzętnicki wrote:
> See:
> http://www.haskell.org/cabal/users-guide/developing-packages.html#configurations
That link says os():
"Tests if the current operating system is name. The argument is
tested against System.Info.os on the targ
On Fri, 2013-02-15 at 15:12 +, Vincent Hanquez wrote:
> Sorry the answer is out of topic
That's ok.
> Windows certificate and macos X certificate are stored in a reliably
> discoverable place. That openssl provide no way to get to it is a
> different story and one reason to have tls.
Is t
That's interesting. But are there standard values for those functions? I'm
guessing not, seeing a how they're String and not an ADT.
AfC
Sydney
Artyom Kazak wrote:
>You can know the OS and arch without even resorting to CPP; see
>System.Info which defines `os` and `arch`.
--
Andrew Fred
I've got a piece of code that looks like this:
baselineContextSSL :: IO SSLContext
baselineContextSSL = do
ctx <- SSL.context
SSL.contextSetDefaultCiphers ctx
#if defined __MACOSX__
SSL.contextSetVerificationMode ctx SSL.VerifyNone
On Sun, 2012-08-12 at 23:18 -0700, Evan Laforge wrote:
> Yes, I ran into the same thing a while back. The problem is that the
> subprocess has already been forked off before it runs exec() and finds
> out the file doesn't exist.
Given how astonishingly common it is to pass an invalid executable n
On Tue, 2011-12-20 at 16:53 -0500, Matthew Farkas-Dyck wrote:
> Two of three ain't bad (^_~)
Now we just need λ to replace \, → to replace ->, and ≠ to replace /=
(which still looks like division assignment no matter how hard I squint
my eyes. 25 years of C and C derived languages is hard to forge
17 matches
Mail list logo