Page 1 of 1

Methods on primitive types and values

PostPosted: Mon Oct 13, 2008 7:52 pm
by Charles
In development, Cobra's support for methods on primitive types and values is now complete.
This includes things like:
d = decimal.parse(s)

if c.isUpper, ...

print x.round(2)
print x.min(y)

I also had the compiler print out these methods so we have full docs at PrimitiveTypeMembers.

Available via Source

Testing and feedback are always welcome.

Enjoy,
Chuck

Re: Methods on primitive types and values

PostPosted: Tue Oct 14, 2008 8:18 am
by gogobyte
I'm glad you've added this nice feature. Now I like Cobra even more!