Go! (programming language): Difference between revisions

Content deleted Content added
Example: maybe use tt?
Undid revision 675617627 by Magioladitis (talk) I do not like it
Line 36:
 
<!-- Don't use <source> tag, because there is wikitext in the source code. -->
 
<tt>
Gender [[#algebraic|'''::=''']] male | female.
Line 62:
newPerson(Nm, Born, Sx, Hm) '''=>''' $person(Nm, Born, Sx, Hm).
 
</tt>
{{anchor|algebraic}}The <code>::=</code> rule defines a new [[algebraic data type]], a [[data type]] with only data constructors.