tag:blogger.com,1999:blog-33049444.comments2023-08-13T06:12:47.931-04:00Bloggy Badgergelisamhttp://www.blogger.com/profile/10619127479176568208noreply@blogger.comBlogger81125tag:blogger.com,1999:blog-33049444.post-59389845333819150332021-12-22T19:42:39.342-05:002021-12-22T19:42:39.342-05:00Here's a most recent post answering the same q...Here's a most recent post answering the same question: https://incoherentsoftware.com/defect-process/docs/cross-platform-notes.htmlgelisamhttps://www.blogger.com/profile/10619127479176568208noreply@blogger.comtag:blogger.com,1999:blog-33049444.post-85294221387194592832018-07-26T06:20:23.571-04:002018-07-26T06:20:23.571-04:00Why not just adding {-# LANGUAGE ApplicativeDo #-}...Why not just adding {-# LANGUAGE ApplicativeDo #-}<br />This way you let the compiler solve the data dependencies instead of using Applicative when there are no data dependencies ?Anonymoushttps://www.blogger.com/profile/00378791764259449416noreply@blogger.comtag:blogger.com,1999:blog-33049444.post-91680790315890517962018-01-06T19:49:04.574-05:002018-01-06T19:49:04.574-05:00Now that I have more money and less free time, my ...Now that I have more money and less free time, my views on charity have changed. I am now <a href="https://www.reddit.com/r/haskell/comments/7ly3yh/supporting_haskellorg/drqnwp7/" rel="nofollow">quite happy to give money to charities</a>, and I am glad that helping is as easy as giving them some of that extra money I don't need, as opposed to volunteering and giving them some of that preciousgelisamhttps://www.blogger.com/profile/10619127479176568208noreply@blogger.comtag:blogger.com,1999:blog-33049444.post-54225412697869373402018-01-06T19:34:11.850-05:002018-01-06T19:34:11.850-05:00I'll clearly never write the follow-up blog po...I'll clearly never write the follow-up blog post I was planning to write, but I can at least write a comment.<br /><br />The problem I see with lisp macros is that they manipulate an opaque blob of syntax, without necessarily understanding all the pieces. For example, a macro could traverse the AST and replace all the λs with lambda, but it would have to do so blindly, without understanding gelisamhttps://www.blogger.com/profile/10619127479176568208noreply@blogger.comtag:blogger.com,1999:blog-33049444.post-27690259066955011352018-01-03T09:43:40.891-05:002018-01-03T09:43:40.891-05:00In which OS and browser are you reading it? Have y...In which OS and browser are you reading it? Have you tried zooming in?<br /><br />The narrow body forces me to make sure the lines of my code snippets aren't too wide, so they don't wrap around on mobile (in landscape mode at least). So if they still display outside of the narrow body despite all my efforts, something is very wrong.gelisamhttps://www.blogger.com/profile/10619127479176568208noreply@blogger.comtag:blogger.com,1999:blog-33049444.post-27906130147559775312018-01-03T06:55:23.552-05:002018-01-03T06:55:23.552-05:00It's absolutely impossible to read Your blog d...It's absolutely impossible to read Your blog due to markup: post block is super narrow and code snippets are out of the block!<br /><br />Post is interesting, but... ;)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-33049444.post-79510135807292214762017-12-15T08:09:41.090-05:002017-12-15T08:09:41.090-05:00Thanks for the comment, I'll add a note explai...Thanks for the comment, I'll add a note explaining that the API has since changed and that readers should use reactive-banana-0.9.0.0 if they want to follow along.<br /><br />Personally, I was disappointed by the API change in 1.0, as I prefer pure values to monadic actions, even if the pure values have a slightly more complicated type.gelisamhttps://www.blogger.com/profile/10619127479176568208noreply@blogger.comtag:blogger.com,1999:blog-33049444.post-80933340504271639972017-12-15T01:29:19.068-05:002017-12-15T01:29:19.068-05:00Thank you!
I've been struggling for a long ti...Thank you!<br /><br />I've been struggling for a long time looking for something I could understand! This is it! A working example!<br /><br />It was a bit of a struggle since reactive-banana is now at 1.xx and they changed the API so I had to revert back to 0.9.0.0.<br /><br />I'm happy .. I now have an example I can play with!<br /><br />Thanks again.<br /><br />Tom<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-33049444.post-45986495531003333572017-11-08T05:46:59.498-05:002017-11-08T05:46:59.498-05:00i am convinced.i am convinced.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-33049444.post-23225638292859640162017-06-23T07:22:05.354-04:002017-06-23T07:22:05.354-04:00I understand the code you shared. Very clear writi...I understand the code you shared. Very clear writing. Thanks for this tutorial.TecCrowdnoreply@blogger.comtag:blogger.com,1999:blog-33049444.post-16070299051109539462016-02-29T15:31:57.604-05:002016-02-29T15:31:57.604-05:00Very nice tutorial, thank you!Very nice tutorial, thank you!Ziriaxnoreply@blogger.comtag:blogger.com,1999:blog-33049444.post-46489393634412934772015-12-26T17:08:31.151-05:002015-12-26T17:08:31.151-05:00I used Data.Regex.Posix. It would've been a lo...I used Data.Regex.Posix. It would've been a lot more concise if it supported backreferences. (I understand why they don't, but I don't think any of the cases for this problem are among the pathological ones.)James Joneshttps://www.blogger.com/profile/07001818812474564774noreply@blogger.comtag:blogger.com,1999:blog-33049444.post-41887972686825869212015-12-10T11:54:49.154-05:002015-12-10T11:54:49.154-05:00oh, of course, i just banged it into Haskell for M...oh, of course, i just banged it into Haskell for Mac to play with and forgot that it's still on GHC 7.8 (i'm a big fan of the FTP change too). cheers, AAndrew Condonhttps://www.blogger.com/profile/15405212917058794058noreply@blogger.comtag:blogger.com,1999:blog-33049444.post-45424533318411605402015-12-10T08:35:50.318-05:002015-12-10T08:35:50.318-05:00Thanks!
In ghc 7.10, length has been generalized ...Thanks!<br /><br />In ghc 7.10, length has been generalized to work on any Foldable, so I don't need to convert to a list before calling it. It was a big change called "FTP" or "Burning Bridges" proposal, and it caused a lot of fuss when it got in because not everybody agreed it was a good idea. I think it is!gelisamhttps://www.blogger.com/profile/10619127479176568208noreply@blogger.comtag:blogger.com,1999:blog-33049444.post-87726200695267501412015-12-10T03:30:06.093-05:002015-12-10T03:30:06.093-05:00This is a super article, i really like the contras...This is a super article, i really like the contrasting X vs X.5 solutions, i can totally use those in explaining Haskell's advantages to people coming from an imperative programming background. <br /><br />One comment - i think your 3.5 solution is missing a "Set.toList" before you take the length? or else use Set.size? Andrew Condonhttps://www.blogger.com/profile/15405212917058794058noreply@blogger.comtag:blogger.com,1999:blog-33049444.post-39814690634785542222015-11-16T12:43:55.848-05:002015-11-16T12:43:55.848-05:00It's been 8 years. Is it done yet?It's been 8 years. Is it done yet?MarioXXXhttps://www.blogger.com/profile/12569966197557038217noreply@blogger.comtag:blogger.com,1999:blog-33049444.post-19928373005326501882015-11-02T12:27:21.801-05:002015-11-02T12:27:21.801-05:00This comment has been removed by a blog administrator.Anonymoushttps://www.blogger.com/profile/07626784132751232616noreply@blogger.comtag:blogger.com,1999:blog-33049444.post-26436506897001544772015-04-13T00:15:56.109-04:002015-04-13T00:15:56.109-04:00That was a great explanation, thank you. (And Agda...That was a great explanation, thank you. (And Agda is fun.)Julien Osterhttps://www.blogger.com/profile/08109834476806811382noreply@blogger.comtag:blogger.com,1999:blog-33049444.post-41730692694480794892015-03-23T12:06:01.285-04:002015-03-23T12:06:01.285-04:00Polymorphic recursion is used to a certain extent....Polymorphic recursion is used to a certain extent. For example, Data.Sequence uses non-regular types to represent finger trees and polymorphic recursion over those trees. There are also nested representations of binomial heaps, and Okasaki wrote a nice paper about using them to represent square matrices. There are a couple reasons these representations are not used very widely:<br /><br />1. TheyAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-33049444.post-33765292324539471062015-03-22T23:36:01.724-04:002015-03-22T23:36:01.724-04:00Thanks for the feedback!
I'm not sure I under...Thanks for the feedback!<br /><br />I'm not sure I understand what you're trying to do; is it the data sources which mutate a data structure, or is it the code which fetches data from those data sources? Would it work for you to perform the pure part of the computation inside GenHaxl, and then to perform the mutations inside IO, once you have received the results from runHaxl?gelisamhttps://www.blogger.com/profile/10619127479176568208noreply@blogger.comtag:blogger.com,1999:blog-33049444.post-13858570928776768792015-03-22T15:15:34.699-04:002015-03-22T15:15:34.699-04:00Very informative tutorial on Haxl. I wish you cont...Very informative tutorial on Haxl. I wish you continue your series of anti tutorials.<br /><br />I also wanted to know a solution using Haxl to a problem I currently face.<br /><br />We have a several independent API calls to data sources which then mutate a datastructure and give a final value. <br />How do I bring a mutable datastructure into picture with Haxl?Abhijitnoreply@blogger.comtag:blogger.com,1999:blog-33049444.post-12648314003951737632015-03-16T03:28:07.487-04:002015-03-16T03:28:07.487-04:00Yes I also love to be a knowledge engineer! But do...Yes I also love to be a knowledge engineer! But don't know what I should possess to be a one!Appreciate your help! Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-33049444.post-18956899131510499972014-12-29T09:20:32.490-05:002014-12-29T09:20:32.490-05:00Works with C# (runtime-instantiated generic types)...Works with C# (runtime-instantiated generic types), too: https://gist.github.com/wizzard0/6dbecfd08a73ed8bcbf0Oleksandr Nikitinhttps://www.blogger.com/profile/15954507117997451042noreply@blogger.comtag:blogger.com,1999:blog-33049444.post-55090293890884509672014-11-02T11:49:38.821-05:002014-11-02T11:49:38.821-05:00A more idiomatic way to add the ESC-quit functiona...A more idiomatic way to add the ESC-quit functionality would be to build it into your application:<br /><br />reactimate $ quitOnEsc <$> ev<br /><br />I really like this concept of ‘anti-tutorials’ — I think they're potentially very useful to help library designers understand stumbling blocks that might make their APIs harder to learn!Anonymoushttps://www.blogger.com/profile/07116187714551272040noreply@blogger.comtag:blogger.com,1999:blog-33049444.post-79288688973435651522014-09-02T06:02:12.737-04:002014-09-02T06:02:12.737-04:00This was a very interesting read, thank you!This was a very interesting read, thank you!Anonymousnoreply@blogger.com