Merge pull request #696 from joemfb/tismodel-toro

generalizes =model syntax to be valid for any toro
This commit is contained in:
Keaton Dunsford 2018-04-11 15:05:50 -07:00 committed by GitHub
commit 0e7ea64709
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11627,6 +11627,21 @@
?~(a !! ?~(t.a [%wing i.a] [%tsgl [%wing i.a] $(a t.a)]))
(most col rope)
::
++ espy :: face for =model
|= rot=root
^- (unit (pair term root))
=; mot
?~(mot ~ `[u.mot rot])
|- ^- (unit term)
?+ rot ~
{$bcsm *} $(rot p.rot)
{$wing *} ?~(p.rot ~ ?^(i.p.rot ~ `i.p.rot))
{$limb *} `p.rot
{$dbug *} $(rot ~(open ap rot))
{$tsgl *} $(rot ~(open ap rot))
{$tsgr *} $(rot q.rot)
==
::
++ scad
%+ knee *root |. ~+
%- stew
@ -11688,21 +11703,9 @@
==
:- '='
;~ pfix tis
%+ sear
|= hon/hoon
^- (unit hoon)
%+ bind
|- ^- (unit term)
?+ hon ~
{$bcsm *} $(hon p.hon)
{$wing *} ?~(p.hon ~ ?^(i.p.hon ~ `i.p.hon))
{$limb *} `p.hon
{$dbug *} $(hon ~(open ap hon))
{$tsgl *} $(hon ~(open ap hon))
{$tsgr *} $(hon q.hon)
==
|=(term [%bcts +< hon])
wyde
%+ cook
|=([mot=term rot=root] [%bcts mot rot])
(sear espy wyde)
==
:- ['a' 'z']
;~ pose
@ -12453,7 +12456,16 @@
==
==
::
++ wise ;~(plug sym (punt ;~(pfix ;~(pose fas tis) wyde)))
++ wise :: toro form
;~ pose
;~ pfix tis
%+ cook
|=([mot=term rot=root] [mot ~ rot])
(sear espy wyde)
==
;~(plug sym (punt ;~(pfix ;~(pose fas tis) wyde)))
==
::
++ wrap
|* fel/rule
%+ cook