<p>Thanks Davide, your comments are much appreciated.</p>
<p>sent on the move</p>
<p>On 22 Jun 2012 22:52, &quot;Davide Sottara&quot; &lt;<a href="mailto:dsotty@gmail.com">dsotty@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
&quot;Experimental&quot; means it has not been tested thoroughly yet, so it might be<br>
subject to improvements and even some language changes. Also, it means that<br>
the docs are really lacking! :) (shame on me!).<br>
<br>
I have never tried to use traits in guvnor yet, but my first impression is<br>
that you don&#39;t really need<br>
anything special. All the type declarations are managed with annotations,<br>
and the rules are transparent.<br>
<br>
1) Consider that<br>
&quot;declare trait X&quot;<br>
can also be written<br>
&quot;declare X @kind(trait)&quot;<br>
<br>
2) &quot;donning&quot; is a RHS action, you&#39;d just need to write a &quot;free&quot; action<br>
<br>
3) Trait types are compiled into interfaces, so you can just use them in the<br>
LHS exactly in the same way you&#39;d use a declared class - i.e. to write<br>
patterns!.<br>
<br>
Feel free to contact me for feedback/bugs/requests/questions and let me know<br>
if you want to get involved!<br>
Best<br>
Davide<br>
<a href="mailto:dsotty@gmail.com">dsotty@gmail.com</a><br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Does-Guvnor-Support-Traits-tp4018176p4018193.html" target="_blank">http://drools.46999.n3.nabble.com/Does-Guvnor-Support-Traits-tp4018176p4018193.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></p>