aboutsummaryrefslogtreecommitdiff
path: root/documentation/tour/annotations.sloth
diff options
context:
space:
mode:
authorCody <cody@codyq.dev>2023-06-26 23:54:29 -0500
committerCody <cody@codyq.dev>2023-06-26 23:54:29 -0500
commit6e168a091d13b5ebb0beb7bb93c2b8c6f6d92711 (patch)
tree5353261c5eaf66031781e5e01d1b7409b66f50e4 /documentation/tour/annotations.sloth
parent9748e95027af7820e6d9f08eb20b0901fdedfa2a (diff)
downloadsloth-6e168a091d13b5ebb0beb7bb93c2b8c6f6d92711.tar.gz
Deleted documentation directory
Diffstat (limited to 'documentation/tour/annotations.sloth')
-rw-r--r--documentation/tour/annotations.sloth24
1 files changed, 0 insertions, 24 deletions
diff --git a/documentation/tour/annotations.sloth b/documentation/tour/annotations.sloth
deleted file mode 100644
index 91e88eb..0000000
--- a/documentation/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);