On Sun, Nov 24, 2013 at 9:54 PM, Shammah Chancellor
<[email protected]> wrote:
> On 2013-11-24 19:42:11 +0000, Philippe Sigaud said:
>
>> The consensus might well be 'use recursion' :) That's what I'd do in
>> your case. CT computation on types is a lot like functional
>> programming: recursion and immutability.
>>
>> Another solution would be to construct you type as a string, and then mix
>> it in.
>
>
> Yes.  That's what I'm doing, and it's ugggglyyyy.

learn to stop worrying and love the String
(http://en.wikipedia.org/wiki/Dr._Strangelove)
:-)

> This seems excessive:
>
> https://github.com/schancel/gameserver/blob/master/source/messages/core.d#L176

Indeed :)  (btw, you're using EvaulateMessageModules, when I think you
want Eval*u*ateMessageModules)

Reply via email to