2014-11-24 19:27:03 +0100 <lpaste> cdk pasted “variadic HTML combinators with GADTs and TypeFamilies” at http://lpaste.net/114933
2014-11-24 18:40:41 +0100 <yukko> http://lpaste.net/114926 can someone help me with this, for some reason I'm getting "No instance for (Equal c0 Int Int)" on equal (1 :: Int) (2 :: Int)
2014-11-24 17:20:45 +0100 <hiptobecubic> Does anyone have any idea why this *one* website seems to not work with http-client-tls? httpbin.org works and the site in question works via curl (correctly responding that it was an invalid request): http://lpaste.net/114895#a114900
2014-11-24 16:00:34 +0100 <SvenskFisk> Hey guys, is there any way to avoid using the lambda here? http://lpaste.net/114914 It doesn't read very well and I'd prefer to avoid having to give a name to the result of the function. Is there a cleaner way to write this without lambda?
2014-11-24 06:56:19 +0100 <Zer000> holy shit I never posted a link! http://lpaste.net/114901
2014-11-24 06:28:25 +0100 <lpaste> hiptobecubic annotated “Bad https POST with http-client-tls” with “Bad https POST with http-client-tls (annotation)” at http://lpaste.net/114895#a114900
2014-11-24 04:47:48 +0100 <lpaste> hiptobecubic pasted “Bad https POST with http-client-tls” at http://lpaste.net/114895
2014-11-24 02:17:22 +0100 <lpaste> griotspeak pasted “Ch3Context” at http://lpaste.net/114891
2014-11-24 02:12:57 +0100 <lpaste> griotspeak pasted “printErrorChapter3” at http://lpaste.net/114888
2014-11-24 00:49:19 +0100 <athan> Hey guys, how is this not an exhaustive pattern? http://lpaste.net/114886
2014-11-24 00:20:44 +0100 <rodlogic> merijn: this is what it looks like with type classes: http://lpaste.net/114885
2014-11-23 23:31:16 +0100 <torpet_> could someone eplain me why this magic reverse map works? http://lpaste.net/6846725980665413632
2014-11-23 22:33:11 +0100 <lpaste> mettekou pasted “'nub' on infinite list of tuples of random 'Int's” at http://lpaste.net/2080061448955887616
2014-11-23 22:19:13 +0100 <chrisdone> i can't get this trivial ffi example to work D: http://lpaste.net/439709169692442624
2014-11-23 21:34:16 +0100 <newcomer> For some reason the following code waits for input before printing "Enter a string: ". After getting input from user it prints "Enter a string: ". http://lpaste.net/114877
2014-11-23 21:26:43 +0100 <torpet_> Could somebody help me with endless recursion? http://lpaste.net/4002815318354296832
2014-11-23 21:17:26 +0100 <newcomer> http://lpaste.net/114873
2014-11-23 21:14:09 +0100 <newcomer> OK, I replaced tabs with spaces in my text editor. Does this code follows the recommendations concerning indentation and whitespaces? http://lpaste.net/114873
2014-11-23 20:38:56 +0100 <bernalex> newcomer: FFR please use https://lpaste.net instead. it's quite a bit better than pastebin.
2014-11-23 18:51:28 +0100 <daishi> so i dont understand why i can't do this: http://lpaste.net/114862
2014-11-23 16:28:43 +0100 <favetelinguis> Trying to implement fold over monads http://lpaste.net/114858, but get an error that is new to me, what am i missing?
2014-11-23 14:46:06 +0100 <torpet> http://lpaste.net/509185166262927360
2014-11-23 08:17:21 +0100 <vanila> http://lpaste.net/3339460402625904640
2014-11-23 08:13:41 +0100 <haskellquestion> okay so i've been working on this brainfuck interpreter all day and finally got everything working except comma but i'm not going to do that anyway probably. i just started learning haskell a week ago so i'd really appreciate a code review or some refactoring tips if anyone doesn't mind. my code is pretty terrible so i'd love to know some ways to polish it up thanks! http://lpaste.net/3339460402625904640
2014-11-23 08:00:52 +0100 <haskellquestion> jle` http://lpaste.net/574230045074128896 line 12
2014-11-23 07:57:54 +0100 <lpaste> glguy pasted “Who has the fish? - Ersatz” at http://lpaste.net/114838
2014-11-23 07:42:57 +0100 <codygman> How would I avoid using fromJust here? Thinking about how to make M.lookup take a maybe Key makes my head hurt and I'm not sure it's possible. I also don't think there is a sensible default I could have with fromMaybe that wouldn't match any keys. Code: http://lpaste.net/114837
2014-11-23 07:41:36 +0100 <vanila> put it on lpaste.net if you liek
2014-11-23 06:34:06 +0100 <danilo2> Hello! Is it possible in Haskell to hide a tuple inside a datatype using existentials in such way, that I will add there elements and remove them using typclasses? I do not want to get these elements out - rather I want this datatype to have a list of functions that can operate on the tuple. The scratch implementation is here: http://lpaste.net/114835
2014-11-23 06:17:33 +0100 <danilo2> Hello! Is it possible in Haskell to hide a tuple inside a datatype using existentials in such way, that I will add there elements and remove them using typclasses? I do not want to get these elements out - rather I want this datatype to have a list of functions that can operate on the tuple. The scratch implementation is here: http://lpaste.net/114835
2014-11-23 06:14:10 +0100 <torpet> I am trying to map a function to a zipped list: http://lpaste.net/457906520923832320
2014-11-23 06:06:45 +0100 <danilo2> michaelt: Right, here is more advanced example, which does not work: http://lpaste.net/114835 . So where it is going? I'm trying to write something funny - namely a set of compiler passes - each pass can take some data of some types from this list of tuples and put modified data back. The problem is, that the order of the passes is definied at runtime and the passes are polymorphic functions.
2014-11-23 05:51:00 +0100 <danilo2> Hello! I want to "hide" a type of a member of a datatype and I'm using existential datatypes. I want to ask you if it is possible to implement somehow the function addToList from the following smalle example: http://lpaste.net/114833 .. The "list" is in fact tuple of tuples and this datatype will contain functions, that can optain values from this nested tuple and modify this tuple itself
2014-11-23 01:47:38 +0100 <torpet> merijn: http://lpaste.net/8294229241881427968
2014-11-23 00:42:04 +0100 <athan> Hey folks, can someone tell me why lines 11 and 14 have conflicting instances with my functional dependency? http://lpaste.net/114821 Thank you!!