Search Haskell Channel Logs

Monday, March 6, 2017

#haskell channel featuring hololeap, piyush-kurur, lambdabot, zipper, dickbarends, dminuoso,

piyush-kurur 2017-03-05 20:45:56
Wait, in my case I can assume it is linux so may be I can get away with it
hololeap 2017-03-05 20:47:39
@unmtl StateT [a] (ErrorT () IO) b
lambdabot 2017-03-05 20:47:39
[a] -> IO (Either () (b, [a]))
dminuoso 2017-03-05 21:07:46
piyush-kurur: Can you fill me in on this?
dminuoso 2017-03-05 21:07:48
Im curious.
piyush-kurur 2017-03-05 21:09:16
dminuoso: Ford_Prefect is the right person, I guess he is around
piyush-kurur 2017-03-05 21:09:30
I will point you to some links that he sent me
dminuoso 2017-03-05 21:10:07
Fair enough. Was hoping you had those links ready for me. :)
piyush-kurur 2017-03-05 21:10:23
for example this is how system d uses "getrandom" https://github.com/systemd/systemd/blob/master/src/basic/missing_syscall.h#L72
piyush-kurur 2017-03-05 21:10:54
dminuoso: warning make sure you do not have a heart condition before looking at it
dminuoso 2017-03-05 21:11:19
piyush-kurur: And please elaborate which part of this is "confusing" or "bad" ?
piyush-kurur 2017-03-05 21:11:33
some staring at openssl code base would have given you the necessary imunity (if you are not dead yet that is)
dminuoso 2017-03-05 21:11:54
Honestly, I'm not seeing anything obvious wrong with this code. Please fill me in.
zipper 2017-03-05 21:27:06
ski: Isn't indenting like that too much work?
Ford_Prefect 2017-03-05 21:28:18
piyush-kurur: you'll notice there's also a proposal (not actually being implemented) to have a linux-specific-syscall library
dickbarends 2017-03-05 21:34:12
\leave