Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
9
Task/Naming-conventions/Nim/naming-conventions-1.nim
Normal file
9
Task/Naming-conventions/Nim/naming-conventions-1.nim
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Constants can start with either a lower case or upper case letter.
|
||||
const aConstant = 42
|
||||
const FooBar = 4.2
|
||||
|
||||
var aVariable = "Meep" # Variables must start with a lowercase letter.
|
||||
|
||||
# Types must start with an uppercase letter.
|
||||
type
|
||||
FooBar = object
|
||||
6
Task/Naming-conventions/Nim/naming-conventions-2.nim
Normal file
6
Task/Naming-conventions/Nim/naming-conventions-2.nim
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
type
|
||||
PathComponent = enum
|
||||
pcDir
|
||||
pcLinkToDir
|
||||
pcFile
|
||||
pcLinkToFile
|
||||
6
Task/Naming-conventions/Nim/naming-conventions-3.nim
Normal file
6
Task/Naming-conventions/Nim/naming-conventions-3.nim
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
type
|
||||
PathComponent {.pure.} = enum
|
||||
Dir
|
||||
LinkToDir
|
||||
File
|
||||
LinkToFile
|
||||
Loading…
Add table
Add a link
Reference in a new issue