Skip to content

Commit

Permalink
slight core fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KMahoney committed Aug 15, 2009
1 parent 1c4b420 commit b19c7be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core.chi
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ module list
def uncons [head] [tail] bi

def each (l q)
l uncons (hd tl)
hd q call
tl [tl q each] when
l [ l uncons (hd tl)
hd q call
tl [tl q each] when ] [l] if

def 2each (l1 l2 q)
l1 uncons (hd1 tl1)
Expand Down

0 comments on commit b19c7be

Please sign in to comment.