diff options
-rw-r--r-- | coffee/starfish.coffee | 5 | ||||
-rw-r--r-- | p9c/notes.md | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/coffee/starfish.coffee b/coffee/starfish.coffee index bfd5f44..7f63720 100644 --- a/coffee/starfish.coffee +++ b/coffee/starfish.coffee @@ -1,4 +1,5 @@ square = (x) -> x * x -cube = (x) -> square(x) * x +cube = (x) -> square x * x + +console.log cube 33 -console.log cube(33) diff --git a/p9c/notes.md b/p9c/notes.md index aef41f6..b3c6d00 100644 --- a/p9c/notes.md +++ b/p9c/notes.md @@ -6,6 +6,7 @@ http://doc.cat-v.org/plan_9/programming/c_programming_in_plan_9 http://blog.postnix.pw/2018/09/21/0/ http://sdf.org/?tutorials/Plan_9_C https://9fans.github.io/plan9port/man/man3/intro.html +https://github.com/nspool/hello-plan9 general: |