lots of small changes

This commit is contained in:
Arne Döring 2018-12-05 19:03:01 +01:00 • committed by Araq
commit a5ecbf823f
85 changed files with 180 additions and 110 deletions

View file

@ -11,7 +11,7 @@ type
TMyEnum = enum
meA, meB, meC, meD
when isMainModule:
when true:
{.hint: "this is the main file".}
proc fac[T](x: T): T =
@ -84,5 +84,5 @@ for i in 2..6:
for j in countdown(i+4, 2):
echo(fac(i * j))
when isMainModule:
when true:
{.hint: "this is the main file".}

View file

@ -1,5 +1,6 @@
discard """
output: '''
start tradix.nim
false
false
false
@ -29,6 +30,8 @@ false
## We use a radix tree with node compression.
## There are two node kinds:
echo "start tradix.nim"
const BitsPerUnit = 8*sizeof(int)
type

View file

@ -1,5 +1,5 @@
discard """
output: "done"
output: "done tsortdev"
"""
import algorithm, strutils
@ -55,5 +55,4 @@ proc main() =
for i in 0..1_000:
main()
echo "done"
echo "done tsortdev"