mirror of
https://github.com/janet-lang/janet
synced 2025-10-09 04:52:28 +00:00
Add -e option to dst for executing inline scripts from the shell.
This commit is contained in:
@@ -14,11 +14,11 @@
|
||||
# Test it
|
||||
# Maximum path is 3 -> 10 -> 3 -> 9 for a total of 25
|
||||
|
||||
(def triangle @[
|
||||
@[3]
|
||||
@[7 10]
|
||||
@[4 3 7]
|
||||
@[8 9 1 3]
|
||||
(def triangle '[
|
||||
[3]
|
||||
[7 10]
|
||||
[4 3 7]
|
||||
[8 9 1 3]
|
||||
])
|
||||
|
||||
(print (maxpath triangle))
|
||||
|
Reference in New Issue
Block a user