alan-if / alan-docs

Alan IF Documentation Project

Home Page:https://git.io/alan-docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Literals Additions Examples

tajmone opened this issue · comments

As previously discussed in #15, the Manual lacks examples on literal classes, specifically regarding additions.

I suggest adding the following examples, maybe under Section 3.8. Additions, and then add a note with cross-references in Section 3.6 Instances » Literals to them (as additions are a more advanced topic in that place):

  • Example of addition to literal
  • Example of addition to string
  • Example of addition to integer

Integers Example

For an example on how work with the Integer class, see the "Math Rigorosum" example in the Alan Recipe Book:

https://github.com/alan-if/alan-by-examples/blob/master/recipes/10/11/README.md#maths-rigorosum