Skip to content

Commit

Permalink
docs/src/modules/examples: simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
yunfachi committed Sep 29, 2024
1 parent 628bc04 commit cd9cebc
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions docs/src/modules/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@
delib.module {
name = "constants";
options = {
constants = with delib; {
username = readOnly (strOption "sjohn");
userfullname = readOnly (strOption "John Smith");
useremail = readOnly (strOption "[email protected]");
};
options.constants = with delib; {
username = readOnly (strOption "sjohn");
userfullname = readOnly (strOption "John Smith");
useremail = readOnly (strOption "[email protected]");
};
}
```
Expand Down

0 comments on commit cd9cebc

Please sign in to comment.