Skip to content

Commit

Permalink
deploy: 869c30b
Browse files Browse the repository at this point in the history
  • Loading branch information
johnynek committed Dec 11, 2024
1 parent 695a268 commit 9ece38e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion compiler/bosatsu_ui.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ <h1><a href="#bosatsu-documentation" name="bosatsu-documentation" class="anchor"
def keep(i):
(i % 3 == 0) || (i % 5 == 0)

def sum(as): as.foldLeft(0, add)
def sum(as): as.foldl_List(0, add)

# here is the pytthon version:
# &gt;&gt;&gt; sum(i for i in xrange(1000) if keep_fn(i))
# here is the python version:
# &gt;&gt;&gt; sum(i for i in xrange(1000) if keep(i))
# 233168
#
# bosatsu version here
Expand Down

0 comments on commit 9ece38e

Please sign in to comment.