<div dir="ltr">Hi Brandon, <div><br></div><div>Thanks for your response. My example was just a bad turnout which I conjured up using tutorials and playing with it. </div><div><br></div><div>I was going to follow up my question with the possible practical use of why and where someone would use such a construct to wrap a function inside a new data-type. </div><div><br></div><div>For all that matters I could have used 'length' function directly to get the same output. </div><div><br></div><div>I appreciate that you already have given the practical example but anything more basic for beginners to highlight the usage would be helpful.</div><div><br></div><div>Thanks,<div class="gmail_extra"><div><div class="gmail_signature"><div dir="ltr"><font color="#0b5394"><font style="background-color:rgb(255,255,255)"><font size="2" face="georgia, serif">Shishir</font></font><br></font><br></div></div></div>
<br><div class="gmail_quote">On Tue, May 5, 2015 at 4:28 PM, Shishir Srivastava <span dir="ltr"><<a href="mailto:shishir.srivastava@gmail.com" target="_blank">shishir.srivastava@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks Matthew - that was crisp !<div><br></div><div>Cheers,<br clear="all"><div><div><div dir="ltr"><font color="#0b5394"><font style="background-color:rgb(255,255,255)"><font size="2" face="georgia, serif">Shishir</font></font></font><br></div></div></div>
</div></div>
</blockquote></div><br></div></div></div>