shapr 2017-03-06 05:00:29
The previously created articles are still available, but I think creation of new articles has been disabled.
shapr 2017-03-06 05:00:46
I'd love to host that IDE on my own server.
shapr 2017-03-06 05:00:49
for my own use
StarsC 2017-03-06 05:02:09
are there any emacs multi user editing capabilities?
shapr 2017-03-06 05:02:29
StarsC: yes, but rarely used
shapr 2017-03-06 05:03:32
StarsC: I haven't tried those multi-user editing libraries lately, I couldn't find anyone who wanted to pair with me across the internet :-(
Yttrill 2017-03-06 05:04:03
how big is an Int in ghc? (on x86-64)?
tsahyt 2017-03-06 05:05:02
Hello. I want to implement a function that works for all types (contained in a particular functor) but if it happens to be one specific type, it should act slightly differently. How would I got about solving this? I suppose I can just provide two versions of the function but maybe there's some nifty typeclass hackery I can put to work here
Yttrill 2017-03-06 05:12:36
one can share stuff in C too
Yttrill 2017-03-06 05:13:02
fusion should be a big win tho
Tuplanolla 2017-03-06 05:13:08
You can do anything in C.
Yttrill 2017-03-06 05:13:12
neither Felix nor Ocaml can do that AFAIK
iainhallam 2017-03-06 05:13:47
Anyone know why GHC has precompiled binaries for CentOS 6.7 but not CentOS 7, which is now nearly three years old?
Yttrill 2017-03-06 05:13:48
well, in C you have problems with memory management
Yttrill 2017-03-06 05:14:21
actually i'm trying to see how fast my own language is :)
iainhallam 2017-03-06 05:14:22
Or, for that matter, what the difference between the Debian 7 version (which works on CentOS 7) and the Debian 8 version?
tsahyt 2017-03-06 05:14:32
hmm, okay with an overlaps pragma it works at least for a simple test
iainhallam 2017-03-06 05:14:36
They both say compiled against libgmp.so.10.
unclechu 2017-03-06 05:15:45
hey guys, i wan't to make my first library that i'm going to publish to hackage, any tutorials you could recommend me to read first? how do i test it for different ghc versions?
unclechu 2017-03-06 05:16:37
now i usually use stack and don't even specify packages versions in `*.cabal` file and let stack-lts provide it
Guest88422 2017-03-06 05:16:52
test
tsahyt 2017-03-06 05:17:01
oh, maybe this even works properly with overlapping instances
unclechu 2017-03-06 05:17:10
in case where i develop a public library i should specificy ranges of acceptable versions i guess
cocreature 2017-03-06 05:17:31
unclechu: https://github.com/hvr/multi-ghc-travis is great for testing against multiple ghc versions
unclechu 2017-03-06 05:17:57
cocreature: thanks
tsahyt 2017-03-06 05:19:38
I guess it does. so in my case I have a instance C a, and a single instance C T, which is always the most specific instance for T.
tsahyt 2017-03-06 05:19:51
nice, and the class constraint I have to introduce even serves some documentative purpose
StarsC 2017-03-06 05:21:31
unclechu: please write good docs and at least ONE example :)
unclechu 2017-03-06 05:22:03
StarsC: of course, i'll try my best :)
EvanR 2017-03-06 05:24:13
please write more than just one example, more than examples
EvanR 2017-03-06 05:24:34
like, write words
cocreature 2017-03-06 05:27:52
EvanR has the best words
suica 2017-03-06 05:29:57
I'm trying to understand `once` as it's defined here: http://neilmitchell.blogspot.com/2012/06/flavours-of-mvar_04.html -- recreated here http://lpaste.net/353272 using plain MVars.
suica 2017-03-06 05:30:59
firstly, why can't the signature be `IO a -> IO a`? do you need the wrapper IO to create the enclosed MVar?
cocreature 2017-03-06 05:34:27
suica: if you use IO a -> IO a it would need to execute the action immediately. using IO (IO a) allows passing an action back to the caller and leaving it up to him if and when it is called