Skip to content

Commit

Permalink
Merge pull request #4935 from ballerina-platform/praneesha-patch-5
Browse files Browse the repository at this point in the history
Update the word `standard library` -> `Ballerina library`
  • Loading branch information
praneesha committed Oct 24, 2023
2 parents 78f7871 + 5e3794b commit 746b763
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions examples/programs-and-modules/programs_and_modules.bal
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
// This import declaration binds the prefix `io` to the `ballerina/io` module.
// The prefix by default comes form the last part of the module name.
// This import declaration binds the prefix `io` to the `ballerina/io` package.
// The prefix by default comes from the last part of the package name.

// The `ballerina` org name is reserved for the Ballerina library packages.
import ballerina/io;

// `main` function is the program entry point.
// `public` makes function visible outside the module.
// `public` makes the function visible outside the package.
public function main() {
// Here `io:println` means function `println` is in the module bound to prefix `io`.
// Here `io:println` means function `println` is in the package bound to prefix `io`.
io:println("Hello, World!");
}

0 comments on commit 746b763

Please sign in to comment.