diff options
| author | Cody <cody@codyq.dev> | 2023-03-30 02:44:54 -0500 |
|---|---|---|
| committer | Cody <cody@codyq.dev> | 2023-03-30 02:44:54 -0500 |
| commit | 2970520a9592b5c6d45291f54073552a474b71b4 (patch) | |
| tree | f42ecc1be0989367cf7c70d0b7909bac0b86904e /tour/annotations.sloth | |
| parent | bb95375f8b24141bf7dfe5a8b1bba5c995f61253 (diff) | |
| download | sloth-2970520a9592b5c6d45291f54073552a474b71b4.tar.gz | |
Restructure
Diffstat (limited to 'tour/annotations.sloth')
| -rw-r--r-- | tour/annotations.sloth | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/tour/annotations.sloth b/tour/annotations.sloth deleted file mode 100644 index 91e88eb..0000000 --- a/tour/annotations.sloth +++ /dev/null @@ -1,24 +0,0 @@ -# Annotations can be used to provide metadata used by the interpreter or via -# code using reflection (?). -# -# Annotations are scoped with the closest scopes take precedence, so if you -# had a package scoped annotation with strict mode enabled, but then a locally -# scoped annotation on a function with strict mode disabled strict mode would -# be disabled for that function. -# -# Scopes available: -# - package :: the current module and all other modules in the package -# - module :: only the current module -# - local :: only the current scope (default) -# - expr :: only the following expression -@package:name("Example Sloth program"); -@package:author("Cody <cody@codyq.dev>"); -@package:summary("This program is a little tour de Sloth"); -@package:license("MIT"); - -# Similarly to TypeScript Sloth is a hybrid between a dyncmially typed and -# statically typed language, however if you would like to enforce static typing -# you can enable strict mode. -# -# Using strict mode is required for publishing to canopy. -@package:strict(true); |
