NAME
Muldis::D::Core::Stringy - Muldis D generic stringy operators
VERSION
This document is Muldis::D::Core::Stringy version 0.135.0.
PREFACE
This document is part of the Muldis D language specification, whose root document is Muldis::D; you should read that root document before you read this one, which provides subservient details. Moreover, you should read the Muldis::D::Core document before this current document, as that forms its own tree beneath a root document branch.
DESCRIPTION
This document describes essentially all of the core Muldis D stringy operators, essentially all the generic ones that a typical programming language should have.
This documentation is pending.
VIRTUAL FUNCTIONS FOR THE STRINGY MIXIN TYPE
sys.std.Core.Stringy.catenation
function catenation (Stringy <-- topic@ : array_of.Stringy) {...}
This virtual function results in the catenation of the N element values of its argument; it is a reduction operator that recursively takes each consecutive pair of input values and catenates (which is associative) them together until just one is left, which is the result. Conceptually, if topic
has zero values, then catenation
results in the empty string or empty sequence, which is the identity value for catenation; however, while each implementing function of catenation
could actually result in a type-specific value of the empty string or empty sequence, this virtual function itself will instead fail when topic
has zero values, because then it would lack the necessary type information to know which type-specific implementing function to dispatch to. Note that this operation is also known as ~
.
sys.std.Core.Stringy.replication
function replication (Stringy <-- topic@ : Stringy, count : NNInt) {...}
This virtual function results in the catenation of count
instances of topic
. Note that this operation is also known as ~#
.
SEE ALSO
Go to Muldis::D for the majority of distribution-internal references, and Muldis::D::SeeAlso for the majority of distribution-external references.
AUTHOR
Darren Duncan (darren@DarrenDuncan.net
)
LICENSE AND COPYRIGHT
This file is part of the formal specification of the Muldis D language.
Muldis D is Copyright © 2002-2010, Muldis Data Systems, Inc.
See the LICENSE AND COPYRIGHT of Muldis::D for details.
TRADEMARK POLICY
The TRADEMARK POLICY in Muldis::D applies to this file too.
ACKNOWLEDGEMENTS
The ACKNOWLEDGEMENTS in Muldis::D apply to this file too.