diff options
author | Boris Verkhovskiy <boris.verk@gmail.com> | 2024-04-03 02:30:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-03 02:30:27 -0700 |
commit | 6d87022050ffbd5d818781427329c5362e3df197 (patch) | |
tree | 3809b2b1a7790d8b30e6d694c575eb68f02f661c /lbstanza.html.markdown | |
parent | c76b8f690a577d9ff89947d79c36a96a7c3b4deb (diff) | |
parent | e8dabf3c1955e1a458e8bc936587ad59772a9c33 (diff) |
Merge branch 'master' into patch-1
Diffstat (limited to 'lbstanza.html.markdown')
-rw-r--r-- | lbstanza.html.markdown | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lbstanza.html.markdown b/lbstanza.html.markdown index 19dc7db7..90e7b7e5 100644 --- a/lbstanza.html.markdown +++ b/lbstanza.html.markdown @@ -8,7 +8,7 @@ contributors: LB Stanza (or Stanza for short) is a new optionally-typed general purpose programming language from the University of California, Berkeley. Stanza was designed to help programmers tackle the complexity of architecting large programs and significantly increase the productivity of application programmers across the entire software development life cycle. -```stanza +``` ; this is a comment ;<A> This is a block comment @@ -193,7 +193,7 @@ while condition[0]: for i in 0 to 10 do: vector[i] = i -; stanza also supports named labels which can functin as break or return +; stanza also supports named labels which can function as break or return ; statements defn another-fn (): label<False> return: @@ -218,7 +218,7 @@ for (x in xs, y in ys, z in zs) do : println("x:%_, y:%_, z:%_" % [x, y, z]) -;xs, ys, and zs are all "Seqable" meaing they are Seq types (sequences). +;xs, ys, and zs are all "Seqable" meaning they are Seq types (sequences). ; the `do` identifier is a special function that just applies the body of ; the for loop to each element of the sequence. ; @@ -268,7 +268,7 @@ is-there = any?({_ == 2.0}, numbers) doc: \<doc> # Document Strings - ```stanza + ``` val you-can = "include code snippets, too" ``` @@ -279,4 +279,4 @@ doc: \<doc> ``` \<doc> defn docfn () : false -```
\ No newline at end of file +``` |