mirror of
https://github.com/dragonheim/gagent.git
synced 2025-05-24 14:36:48 -07:00
[CI SKIP] Refactored project layout per Mark Wolfe Blog : https://www.wolfe.id.au/2020/03/10/how-do-i-structure-my-go-project/
This commit is contained in:
parent
0557021282
commit
a7747040ce
31 changed files with 15 additions and 45 deletions
9
pkg/picol/examples/fib.tcl
Normal file
9
pkg/picol/examples/fib.tcl
Normal file
|
@ -0,0 +1,9 @@
|
|||
proc fib {x} {
|
||||
if {<= $x 1} {
|
||||
return 1
|
||||
} else {
|
||||
+ [fib [- $x 1]] [fib [- $x 2]]
|
||||
}
|
||||
}
|
||||
|
||||
puts [fib 20]
|
Loading…
Add table
Add a link
Reference in a new issue