mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-21 05:41:43 +03:00
26 lines
482 B
Plaintext
26 lines
482 B
Plaintext
|
:: Our first experiment with major hood runes.
|
||
|
::
|
||
|
:::: /hoon/one/mad/src/pub
|
||
|
::
|
||
|
/= gas /$ fuel
|
||
|
// /===/pub/src/mad/fib
|
||
|
::
|
||
|
:::: ~tasfyn-partyv
|
||
|
::
|
||
|
=+ arg=(biff (~(get by qix.gas) %number) (slat %ud))
|
||
|
::
|
||
|
;html
|
||
|
;head
|
||
|
;title: Mad Experiment One
|
||
|
==
|
||
|
;body
|
||
|
;+ ?~ arg
|
||
|
;p: Usage: ?number=x
|
||
|
;p ; This is an ;{i "HTML file"} which
|
||
|
; computes the Fibonacci number
|
||
|
; of {<u.arg>}: {<(fib u.arg)>}.
|
||
|
==
|
||
|
==
|
||
|
==
|
||
|
|