Actually include /lib/constitution.

This commit is contained in:
Fang 2018-04-13 21:50:22 +02:00
parent 2dfe11f1eb
commit 821c7e418d

20
lib/constitution.hoon Normal file
View File

@ -0,0 +1,20 @@
/- constitution, ethereum
|%
++ parse-id
|= id=@t
^- ships:function:^constitution
|^
%+ rash id
;~ pose
(function %ships 'ships' shipname)
(function %get-spawned 'getSpawned' shipname)
==
::
++ function
|* [tag=@tas fun=@t rul=rule]
;~(plug (cold tag (jest fun)) (ifix [pel per] rul))
::
++ shipname
;~(pfix sig fed:ag)
--
--