tag:blogger.com,1999:blog-7094652.post2781732290585978426..comments2024-03-23T14:36:09.980+00:00Comments on Neil Mitchell's Blog (Haskell etc): Shake 0.8 is outNeil Mitchellhttp://www.blogger.com/profile/13084722756124486154noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-7094652.post-92040855464512301632013-01-31T20:22:33.613+00:002013-01-31T20:22:33.613+00:00Hi Cédric,
I've replied to your StackOverflow...Hi Cédric,<br /><br />I've replied to your StackOverflow question - the problem has come about since the Shake implementation has changed in a few details since ICFP.<br /><br />You are indeed right, on each change it will do two directory listings. My argument has always been that the first probably brings it into the disk cache, so the second is cheap. But that's a poor argument! Thinking further I can probably define something like defaultRuleIsStoredValue, to say that the default rule is just to reuse whatever was previously returned by storedValue. That should simplify defining certain rules, and avoid the double traversal - thanks for pointing it out.Neil Mitchellhttps://www.blogger.com/profile/13084722756124486154noreply@blogger.comtag:blogger.com,1999:blog-7094652.post-40310391669483259342013-01-31T17:59:29.592+00:002013-01-31T17:59:29.592+00:00Hi Neil,
Thanks for this great tool. Your paper o...Hi Neil,<br /><br />Thanks for this great tool. Your paper on ICFP2012 explain it quite well. However I stumbled on issue on my first try to use it. I asked about it at http://stackoverflow.com/questions/14631978/how-to-define-custom-rule-in-shake-development-shake-core-is-hidden<br /><br />Another small question I had is that from your paper, it seems that two identical directory listings are done each time their is a change. The first to check the validity of the stored value and the second to compute the new value. However, they should return the same things so if the goal is to reduce those directory listing, shouldn't the first listing be reused?<br />Could we define a generic rule for all the rules who do the same processing for validity checking and value generation? Anonymoushttps://www.blogger.com/profile/17919373353084134648noreply@blogger.com