git.iko.soy
/
rowtype-yoga/purescript-native
readme
files
commits
refs
on
golang
help
sign in
Fix example
commit
446c91132158c18ef09b88c05cc6fef7a16501e3
author
Phil Freeman
<paf31@cantab.net>
date
Sun 20 Oct 2013, 17:32
(13 years ago)
parent
aabb9d3
1 file changed
+1
−1
compare with golang
unified
split
examples/TypeDecl.ps
+1
−1
examples/TypeDecl.ps
+1
−1
@@ -7,6 +7,6 @@ k = \x -> \y -> x
7
7
iterate :: forall a. (Number) -> ((a) -> a) -> (a) -> a
8
8
iterate = \n -> \f -> \a -> do
9
9
var result = a
10
−
for
(var
i
=
0
; i <
n
; i = i + 1)
:
10
+
for i
<-
0
until
n:
11
11
result = f(result)
12
12
return result
keys
esc to close
j k
move down, up
enter
open
esc
back, or up a level
1 2 3 4
readme, files, commits, refs
/
filter
y
copy the clone command
c
compare the chosen commit with another (or shift-click both)
?
show or hide this list