On Wed, Jan 28, 2009 at 10:37 PM, Saaa <[email protected]> wrote:
>> Sorry, can't help but post this:
>>
>> local data = io.readFile("data/parsed.dat").splitLines().apply$
>> \line -> line[14 .. 19].split(",").apply$
>> \item -> toBool$ toInt$ item
>>
>> writeln$ data[0]
>>
>> It's a one-liner (one-..statementer) in MiniD!  <_<
> Waa!
>
> Can't toInt be skipped when you use the to! template?

MiniD !is D.  There are no templates; toInt and toBool are just functions.

Reply via email to