mirror of
https://github.com/urbit/shrub.git
synced 2024-12-17 07:14:52 +03:00
30 lines
347 B
Plaintext
30 lines
347 B
Plaintext
::
|
|
:::: /hoon/hello/gen
|
|
::
|
|
/? 310
|
|
::
|
|
::::
|
|
!:
|
|
:- %say
|
|
|= {^ {{txt/@tas $~} $~}}
|
|
~& %foobar
|
|
=+ bar=32
|
|
=> |%
|
|
++ funq
|
|
^?
|
|
|%
|
|
++ add |=({a/@ b/@} (sub a b))
|
|
++ mook txt
|
|
--
|
|
--
|
|
=, funq
|
|
~& %one
|
|
=+ foo=mook
|
|
~& [%foo (^add 2 2)]
|
|
=< $
|
|
|%
|
|
++ $
|
|
:- %noun
|
|
(crip (weld "hello, " (trip mook)))
|
|
--
|