<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Chloroquine malaria treatment and Groovy (DSL tactics in Groovy 2)</title>
	<atom:link href="http://tiago.org/ps/2008/02/27/chloroquine-malaria-treatment-and-groovy-dsl-tactics-in-groovy-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://tiago.org/ps/2008/02/27/chloroquine-malaria-treatment-and-groovy-dsl-tactics-in-groovy-2/</link>
	<description>Computational Biology, Epidemiology, Infectious diseases, Open Science</description>
	<lastBuildDate>Mon, 02 Nov 2009 14:07:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: ericlefevre &#187; DSLs: first, make them easy to read</title>
		<link>http://tiago.org/ps/2008/02/27/chloroquine-malaria-treatment-and-groovy-dsl-tactics-in-groovy-2/comment-page-1/#comment-20758</link>
		<dc:creator>ericlefevre &#187; DSLs: first, make them easy to read</dc:creator>
		<pubDate>Wed, 10 Sep 2008 12:00:04 +0000</pubDate>
		<guid isPermaLink="false">http://tiago.org/ps/2008/02/27/chloroquine-malaria-treatment-and-groovy-dsl-tactics-in-groovy-2/#comment-20758</guid>
		<description>[...] In truth, this was visible in one of the examples he gave involving a health organization, fortunately documented on Guillaume&#8217;s blog:. Here is how it looked like (excerpt from this post): [...]</description>
		<content:encoded><![CDATA[<p>[...] In truth, this was visible in one of the examples he gave involving a health organization, fortunately documented on Guillaume&#8217;s blog:. Here is how it looked like (excerpt from this post): [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tiago</title>
		<link>http://tiago.org/ps/2008/02/27/chloroquine-malaria-treatment-and-groovy-dsl-tactics-in-groovy-2/comment-page-1/#comment-4164</link>
		<dc:creator>tiago</dc:creator>
		<pubDate>Thu, 28 Feb 2008 10:42:37 +0000</pubDate>
		<guid isPermaLink="false">http://tiago.org/ps/2008/02/27/chloroquine-malaria-treatment-and-groovy-dsl-tactics-in-groovy-2/#comment-4164</guid>
		<description>One of the fantastic things about Groovy is that there is always some good feedback coming in. Thanks!

Regarding the last solution... I suppose is a case of &quot;monkey patching&quot; numbers (so that * can be used in that way)?

As per the thread going on the groovy users mailing list, I am a bit concerned about monkey patching (which I already use a lot).</description>
		<content:encoded><![CDATA[<p>One of the fantastic things about Groovy is that there is always some good feedback coming in. Thanks!</p>
<p>Regarding the last solution&#8230; I suppose is a case of &#8220;monkey patching&#8221; numbers (so that * can be used in that way)?</p>
<p>As per the thread going on the groovy users mailing list, I am a bit concerned about monkey patching (which I already use a lot).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dierk König</title>
		<link>http://tiago.org/ps/2008/02/27/chloroquine-malaria-treatment-and-groovy-dsl-tactics-in-groovy-2/comment-page-1/#comment-4162</link>
		<dc:creator>Dierk König</dc:creator>
		<pubDate>Thu, 28 Feb 2008 09:06:24 +0000</pubDate>
		<guid isPermaLink="false">http://tiago.org/ps/2008/02/27/chloroquine-malaria-treatment-and-groovy-dsl-tactics-in-groovy-2/#comment-4162</guid>
		<description>cool.
one further option would be to replace the lines

regimen.take drug: CQ, qty: 2, at: 0.h

with

take drug: CQ, qty: 2, at: 0.h

by either wrapping them in 

regimen.with {
    take drug: CQ, qty: 2, at: 0.h
    ...
}

or by using a MethodClosure as an alias

def take = regimen.&amp;take
take drug: CQ, qty: 2, at: 0.h
...

BTW: how about
takeAt 0.h, 2 * CQ
?

cheers
Dierk</description>
		<content:encoded><![CDATA[<p>cool.<br />
one further option would be to replace the lines</p>
<p>regimen.take drug: CQ, qty: 2, at: 0.h</p>
<p>with</p>
<p>take drug: CQ, qty: 2, at: 0.h</p>
<p>by either wrapping them in </p>
<p>regimen.with {<br />
    take drug: CQ, qty: 2, at: 0.h<br />
    &#8230;<br />
}</p>
<p>or by using a MethodClosure as an alias</p>
<p>def take = regimen.&amp;take<br />
take drug: CQ, qty: 2, at: 0.h<br />
&#8230;</p>
<p>BTW: how about<br />
takeAt 0.h, 2 * CQ<br />
?</p>
<p>cheers<br />
Dierk</p>
]]></content:encoded>
	</item>
</channel>
</rss>
