1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-31 15:43:01 +00:00

Change format for declaring flexible arity functions.

This commit is contained in:
Calvin Rose
2018-11-25 14:03:00 -05:00
parent 5b3fc3d2cc
commit d4ee760b3e
8 changed files with 142 additions and 77 deletions

View File

@@ -2,7 +2,7 @@
(print (string "Janet " janet.version " Copyright (C) 2017-2018 Calvin Rose"))
(fiber.new
(fn @[]
(fn [&]
(repl (fn [buf p]
(def [line] (parser.where p))
(def prompt (string "janet:" line ":" (parser.state p) "> "))