Nim/examples
Jacek Sieka 7d6cbf290a
Error -> Defect for defects (#13908)
* Error -> Defect for defects

The distinction between Error and Defect is subjective,
context-dependent and somewhat arbitrary, so when looking at an
exception, it's hard to guess what it is - this happens often when
looking at a `raises` list _without_ opening the corresponding
definition and digging through layers of inheritance.

With the help of a little consistency in naming, it's at least possible
to start disentangling the two error types and the standard lib can set
a good example here.
2020-04-28 19:56:01 +02:00
..
talk Change expr/stmt in examples to untyped (#6734) 2017-11-15 21:58:11 +01:00
allany.nim cleanup old allany.nim example 2018-05-28 19:45:12 +02:00
extract_keyval_pairs_pegs.nim cleanup Nim's examples/ directory; closes #7725 2018-09-03 18:29:11 +02:00
extract_keyval_pairs_re.nim cleanup Nim's examples/ directory; closes #7725 2018-09-03 18:29:11 +02:00
hallo.nim Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
maximum.nim cleanup Nim's examples/ directory; closes #7725 2018-09-03 18:29:11 +02:00
myfile.txt Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
readme.txt cleanup Nim's examples/ directory; closes #7725 2018-09-03 18:29:11 +02:00
statcsv.nim import the new stats lib 2015-11-07 17:47:49 +10:00
tunit.nim Error -> Defect for defects (#13908) 2020-04-28 19:56:01 +02:00

In this directory you can find several examples for how to use the Nim
library.