halogenandtoast 2017-03-03 23:45:54
zomg: sorry I had disconnected.
halogenandtoast 2017-03-03 23:46:19
Maybe I can make it a library somehow, it's just an Objective-C program
halogenandtoast 2017-03-03 23:46:42
I don't care if it app works on different OSs
ph88 2017-03-04 00:20:46
hi all
Squarism 2017-03-04 00:23:55
i have an MVar where i store : Map String (TChan SomeType) - i feel i got a need to change its type to myMVar :: (SomeClass a) => Map String (TChan a) ... but i cannot se how i could store differnt instances of SomeClass on it?
Squarism 2017-03-04 00:24:02
Or could that be possible?
Squarism 2017-03-04 00:26:39
gah, im in desperate need of some typeclass expert. Cause im clearly out on deep water here
ph88 2017-03-04 00:32:41
helps already when you show some code that works and changes you want to make to it that dont work .. like a small test case
Squarism 2017-03-04 00:33:51
ph88, i guess. Its just that im hesitant of spending lots of time on an idea that doesnt fly
Squarism 2017-03-04 00:36:47
i think my only question is - how can i store values of different type in the same MVar wo using Union types. I would need a down/up cast mechanism for that and i understand there is no such thing in haskell
ph88 2017-03-04 00:40:14
Squarism, well i'm too nooby to know what you're talking about, so i guess sit around till someone else understands it
ph88 2017-03-04 00:43:02
ocharles, are you around ?