Skip to content

Some remarks to stdlib documentation #13352

@StefanSalewski

Description

@StefanSalewski

Miran, I think for https://nim-lang.github.io/Nim/io.html#lines.i%2CFile there should be a note on the top that io is part of system so that we do not have to import module io. (I just tried to import it :-( )

And for https://nim-lang.github.io/Nim/algorithm.html are you sure that at top

proc myCmp(x, y: People): int =
  if x.name < y.name: -1 else: 1

is really fully correct? Should it not return zero for equality?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions