Search Haskell Channel Logs

Saturday, February 18, 2017

#haskell channel featuring ph88^, haasn, marekw2143, ezyang, lyxia, athan,

ph88^ 2017-02-18 00:45:31
if i use llvm which linker does it use ?
c_wraith 2017-02-18 00:45:47
whatever your system linker is, for now
ph88^ 2017-02-18 00:47:13
ah ok
AndreasK 2017-02-18 00:47:43
The llvm page says "The textual format is not backwards compatible. We don't change it too often, but there are no specific promises." :(
lyxia 2017-02-18 00:50:58
athan: is that related to pi-calculus
ph88^ 2017-02-18 00:55:32
maybe a dumb question .. but if i don't specify anything to parallelize in my program does the -threaded option do anything ?
ezyang 2017-02-18 01:03:46
ph88^: Yes
ezyang 2017-02-18 01:04:19
it links against the threaded runtime, which is coded differently
ezyang 2017-02-18 01:04:48
you'll get different (better) IO behavior
AndreasK 2017-02-18 01:06:47
Anyone know why https://www.haskell.org/hoogle/?hoogle=Num shows Num as requiring a Eq instance but Prelude doesn't?
ph88^ 2017-02-18 01:07:06
ezyang, how does my code get executed differently ?
c_wraith 2017-02-18 01:07:33
AndreasK: Num used to depend on Eq and Show. Those were removed in GHC a while back. Guess hoogle still thinks it's the old days
ezyang 2017-02-18 01:07:39
ph88^: it should be enitrely observationally equivalent
AndreasK 2017-02-18 01:07:45
I see thanks
athan 2017-02-18 01:17:28
c_wraith: Ahh good point - yeah I'm not sure if I have my model correct. It might just be an `Async ()`, which internally loops forever or something similar, peeking into the TChan
athan 2017-02-18 01:18:03
lyxia: I don't believe it is related to pi, but I'm not sure :)
sphinxo 2017-02-18 01:28:32
what is the Wrap type from https://mainisusuallyafunction.blogspot.co.uk/2011/09/lambda-to-pi.html
marekw2143 2017-02-18 01:33:03
hello
marekw2143 2017-02-18 01:33:10
is putStr always flushes the buffer ?
Wizek_ 2017-02-18 01:33:29
Anyone has encountered the error `Failed to load interface for 'Gtk2HsSetup'
Wizek_ 2017-02-18 01:33:29
` in relation to cairo, glib, reflex-dom (, ghcjs)? I'm Trying to add reflex-dom to a project using GHC 8.0.2 (tried both with `nix: enable: true/false`). This error usually means that gtk2hs-buildtools is missing, doesn't it?
haasn 2017-02-18 01:36:38
it would be great if we could get literate haskell to recognize ```haskell and ``` as valid code tags
c_wraith 2017-02-18 01:43:32
marekw2143: putStr never flushes the buffer.
marekw2143 2017-02-18 01:43:56
c_wraith, and putStrLn "" ?
c_wraith 2017-02-18 01:44:14
that will flush if stdout is set to line-buffered
c_wraith 2017-02-18 01:44:26
which is the default if it's attached to a terminal