insitu 2017-02-09 00:45:31
to run deep thunks and then garbage collect intermediate results?
muzzle 2017-02-09 00:45:41
insitu I don't think so, I made my index data structure an instance of NFData and use deepseq do force it to be completely evaluated
insitu 2017-02-09 00:49:49
maybe you can bench (and profile) specific parts of your code?
Profpatsch 2017-02-09 00:52:42
> editor with color coding of do-blocks.
lambdabot 2017-02-09 00:52:45
Profpatsch 2017-02-09 00:53:23
Each monad context gets a different Color (similar contexts get similar colors?)
michalrus 2017-02-09 01:02:12
Hey, what would be the best way to encode an (errors xor (value + warnings)) monad?
lyxia 2017-02-09 01:07:48
data Output = OError Error | OValue Value Warnings
michalrus 2017-02-09 01:10:17
And define the ops myself? I hoped there already was something like that, seems useful. =)
lyxia 2017-02-09 01:11:52
michalrus: Either Error (Warnings, Value)
lyxia 2017-02-09 01:12:42
michalrus: actually it's hard to say what is "best" without knowing what you want to do.
michalrus 2017-02-09 01:13:31
Still, I'd have to write a function to append warnings, hmm. How about a Writer instead of (,)?
michalrus 2017-02-09 01:14:04
lyxia: I'd want to be able to transform the value, and append warnings along the way. Or sometimes shortcircuit with an error.
lyxia 2017-02-09 01:15:08
A Writer sounds good
unknown121 2017-02-09 01:17:32
hi
unknown121 2017-02-09 01:18:27
what is best hacking forums in world ?
unknown121 2017-02-09 01:19:18
alooo ???
hpc 2017-02-09 01:19:32
go to reddit and ask for the 4chans
tfc 2017-02-09 01:20:12
i want to write a tcp network application, where i use parsec (or similar) in order to elegantly parse and process network packages. does anyone know of a nice example just to get going how stuff is combined? the library documentations don't give me an idea how to combine a parser with sockets elegantly.
Profpatsch 2017-02-09 01:21:11
Is "formatting" the only printf-like package that supports outputting to Text?
unknown121 2017-02-09 01:21:20
socket programming is your mean ?
srhb 2017-02-09 01:43:57
So with ResumableSource I'm confused on how to incrementally parse something from http conduit. In fact, I'm not sure what I want is incremental parsing, but I have something like responseBody response $$++ conduitParser events. The question is now, how do I attach an eventProcessor (something like Event -> IO ...) in this flow?