[Haskell-beginners] Finding Keith Numbers with Haskell
Kim-Ee Yeoh
ky3 at atamo.com
Tue Nov 11 15:17:04 UTC 2014
On Tue, Nov 11, 2014 at 8:26 PM, Jack Mott <jack.mott at gmail.com> wrote:
> Thanks, is the notation with the single quote (isKeith') a convention for
> helper functions or does it actually change something about the program?
An unspoken coding convention.
Function foo' would be read "foo-prime". E.g.of usage: haskell-prime is the
next standard of haskell, which became moot because you need good vibes for
diverse peoples to collaborate on such an undertaking, including supporting
it by writing more than one implementation.
Strictly syntax, the compiler doesn't treat it differently from any other
name label.
So yes, you could have foo-double-prime and so forth.
-- Kim-Ee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20141111/774d380a/attachment.html>
More information about the Beginners
mailing list