Skip to content
This repository has been archived by the owner on Jan 16, 2021. It is now read-only.

Commit

Permalink
1878
Browse files Browse the repository at this point in the history
  • Loading branch information
akkartik committed Jun 19, 2012
1 parent 24c2dc9 commit 5a4aee9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion 040num.wart
Expand Up @@ -60,7 +60,7 @@ def divides(nr dr)
def even?(n)
(divides n 2)

= odd? ~even?
alias odd? ~even?

def sum(xs)
(+ @xs)
Expand Down
12 changes: 6 additions & 6 deletions 060fork.wart
Expand Up @@ -6,9 +6,9 @@ let $fork fork

mac preforking(n . body)
`(do
repeat ,n
(fork ,@body)
repeat :forever
(wait_for_child)
(prn "restart")
(fork ,@body))
repeat ,n
(fork ,@body)
repeat :forever
(wait_for_child)
(prn "restart")
(fork ,@body))

0 comments on commit 5a4aee9

Please sign in to comment.