[Haskell-beginners] Data type
Shishir Srivastava
shishir.srivastava at gmail.com
Tue May 5 15:38:11 UTC 2015
Hi Brandon,
Thanks for your response. My example was just a bad turnout which I
conjured up using tutorials and playing with it.
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.
For all that matters I could have used 'length' function directly to get
the same output.
I appreciate that you already have given the practical example but anything
more basic for beginners to highlight the usage would be helpful.
Thanks,
Shishir
On Tue, May 5, 2015 at 4:28 PM, Shishir Srivastava <
shishir.srivastava at gmail.com> wrote:
> Thanks Matthew - that was crisp !
>
> Cheers,
> Shishir
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20150505/97e25ce6/attachment.html>
More information about the Beginners
mailing list