urbit/lib/urb-split.hoon

11 lines
356 B
Plaintext
Raw Normal View History

2016-02-10 06:25:32 +03:00
::
:::: /hoon/urb-split/lib
::
2016-02-18 02:36:43 +03:00
/? 310
2016-02-11 23:53:34 +03:00
|= {dep/@uvH urb/manx} ^- {hed/{@uvh marl} bod/{@uvH marl}}
2016-02-10 06:25:32 +03:00
~| [%malformed-urb urb] :: XX types
2016-02-11 23:53:34 +03:00
?> ?=({{$html $~} {{$head $~} *} {{$body $~} *} $~} urb)
=+ `{{$html $~} {{$head $~} hed/marl} {{$body $~} bod/marl} $~}`urb
2016-02-10 06:25:32 +03:00
:- [dep hed] :: Assume all dependencies are hard
[0v0 bod]