summary refs log tree commit diff stats
path: root/doc/tut1.rst
Commit message (Collapse)AuthorAgeFilesLines
* introduce object before tuple in the tutorials (#10664)Arne Döring2019-02-141-15/+93
|
* Tutorial 1: Simplifiy the discription of enums; it is a tutorial, not a manualAraq2018-08-311-11/+2
|
* Fixed a minor typo (#8685)Στέφανος2018-08-201-1/+1
|
* Fix link to first class iterator docs (#8356)Chris de Graaf2018-07-181-1/+1
|
* Changed tutorial documentation referring to 'constant' to 'immutable' (#8056)mboratko2018-06-181-2/+3
| | | | | | * Changed tutorial documentation referring to 'constant' to 'immutable' * Clarification regarding side-effect free procedures fo:r multiple assignments
* update the documentationAndreas Rumpf2018-05-011-7/+3
|
* update the documentation about the new strings/seqs behavioursAndreas Rumpf2018-04-291-14/+4
|
* Tut 1: tiny improvementsAndreas Rumpf2018-02-051-1/+1
|
* Update two links in tutorial to compiler usage docs with updated page anchorssmt2018-01-121-2/+2
| | | Seems like these class ids on the page were renamed to reflect their hierarchy but the tutorial links weren't pointing to them, this should fix that
* tut1.rst makes use of the new ':test:' featureAraq2017-11-281-2/+55
|
* cleaned up tutorial 1Araq2017-11-261-45/+18
|
* Documentation: directly use ref object + fields (#6598)Mamy Ratsimbazafy2017-11-151-2/+1
|
* Update docs on assignment operator (#6373)superfunc2017-09-151-3/+2
|
* fixes #6125Andreas Rumpf2017-07-221-7/+2
|
* fixes #6062Andreas Rumpf2017-07-091-14/+0
|
* tut1.rst: Fix alignment, Change Subrange to MySubrange for clarity (#5798)Mice Pápai2017-05-131-5/+5
| | | | | | * tut1.rst: Fix alignment * tut1.rst: Change Subrange to MySubrange for clarity
* Fix a typo in the Result variable blockMice Pápai2017-05-101-1/+1
|
* tut1.rst: Slices indices explanation (#5569)jlp7652017-03-221-1/+22
|
* Fixed typo (#5508)mark-summerfield2017-03-121-1/+1
|
* Nicer English (#5513)mark-summerfield2017-03-121-9/+9
|
* Nicer English (#5511)mark-summerfield2017-03-121-43/+43
|
* Nicer English (#5514)mark-summerfield2017-03-121-26/+26
|
* Update tut1.rst (#5510)mark-summerfield2017-03-121-6/+6
| | | | | | | | | | | | | | | | | | | In general: s/have to/must/g - but you can't do this mechanically because sometimes the must has to go back a word (e.g., line 519). This looks really odd to me: if thisIsaLongCondition() and thisIsAnotherLongCondition(1, 2, 3, 4): x = true I would have expected: if thisIsaLongCondition() and thisIsAnotherLongCondition( 1, 2, 3, 4): x = true If the second form is valid and good Nim style then I suggest using it rather than the original. However, if the original is the preferred style then this should be mentioned in the text since it is unusual. Since Nim is case-sensitive I think it is bad to write wrongly cased names, e.g., ``Bool`` is a built-in type on line 589. This isn't true since Bool isn't anything, but bool is. So in these cases I'd always reword to avoid this problem (and that's what I've done -- and it also avoids "bool. Bool" which was ugly).
* Suggested small change to code (#5509)mark-summerfield2017-03-121-2/+2
| | | In a code example I think it best to either use full names (index, item) or abbreviated names where that's common (i, item) but not non-standard abbreviations (indx, itm). So I've changed it to index, item since it is a tutorial, although i, item would be just as good.
* Removed $ from echo calls (#5368)Yuriy Glukhov2017-02-101-11/+11
|
* failing trailing underscore, caused no hyperlinkAnthon van der Neut2017-01-211-1/+1
|
* Further tutorial updates (#5176)jlp7652017-01-071-0/+13
| | | | | | * tut1: added multiline comments * tut2: replaced expr/stmt with untyped/typed * added some more template/macro example * remove immediate pragma from example
* Tutorial1 additionsjlp7652017-01-031-1/+29
| | | | Add extra For Statement stuff Add Distinct Types
* renamed most remaining .txt documentation files to .rstAraq2016-06-071-0/+1696