From 51c696cc33280f376e4ee3aaad98e43509cbe038 Mon Sep 17 00:00:00 2001 From: Alex Higgins Date: Fri, 28 Aug 2015 08:25:37 -0500 Subject: [PATCH] Fix alignments in jets/b --- jets/b/bind.c | 8 +++----- jets/b/clap.c | 8 ++++---- jets/b/levy.c | 8 +++----- jets/b/lien.c | 8 ++++---- jets/b/need.c | 6 ++---- jets/b/reel.c | 8 +++----- jets/b/roll.c | 2 +- jets/b/scag.c | 8 +++----- jets/b/skim.c | 13 ++++++------- jets/b/skip.c | 16 +++++++--------- jets/b/snag.c | 2 +- jets/b/sort.c | 8 +++----- jets/b/weld.c | 5 +++-- 13 files changed, 43 insertions(+), 57 deletions(-) diff --git a/jets/b/bind.c b/jets/b/bind.c index d3c31e66f..f0421664e 100644 --- a/jets/b/bind.c +++ b/jets/b/bind.c @@ -7,9 +7,8 @@ /* functions */ u3_noun - u3qb_bind( - u3_noun a, - u3_noun b) + u3qb_bind(u3_noun a, + u3_noun b) { if ( 0 == a ) { return 0; @@ -18,8 +17,7 @@ } } u3_noun - u3wb_bind( - u3_noun cor) + u3wb_bind(u3_noun cor) { u3_noun a, b; diff --git a/jets/b/clap.c b/jets/b/clap.c index 1b76ca648..a4a8c6085 100644 --- a/jets/b/clap.c +++ b/jets/b/clap.c @@ -8,8 +8,8 @@ */ u3_noun u3qb_clap(u3_noun a, - u3_noun b, - u3_noun c) + u3_noun b, + u3_noun c) { if ( 0 == a ) { return u3k(b); @@ -27,8 +27,8 @@ u3_noun a, b, c; if ( c3n == u3r_mean(cor, u3x_sam_2, &a, - u3x_sam_6, &b, - u3x_sam_7, &c, 0) ) { + u3x_sam_6, &b, + u3x_sam_7, &c, 0) ) { return u3m_bail(c3__exit); } else { return u3qb_clap(a, b, c); diff --git a/jets/b/levy.c b/jets/b/levy.c index e41db6dc0..2a58ce1c4 100644 --- a/jets/b/levy.c +++ b/jets/b/levy.c @@ -7,9 +7,8 @@ /* functions */ u3_noun - u3qb_levy( - u3_noun a, - u3_noun b) + u3qb_levy(u3_noun a, + u3_noun b) { if ( 0 == a ) { return c3y; @@ -28,8 +27,7 @@ } } u3_noun - u3wb_levy( - u3_noun cor) + u3wb_levy(u3_noun cor) { u3_noun a, b; diff --git a/jets/b/lien.c b/jets/b/lien.c index 082bc0cc0..6768ab511 100644 --- a/jets/b/lien.c +++ b/jets/b/lien.c @@ -8,7 +8,7 @@ */ u3_noun u3qb_lien(u3_noun a, - u3_noun b) + u3_noun b) { if ( 0 == a ) { return c3n; @@ -20,9 +20,9 @@ } else switch ( (loz = u3n_slam_on(u3k(b), u3k(u3h(a)))) ) { case c3y: return c3y; - case c3n: return u3qb_lien(u3t(a), b); - default: u3z(loz); - return u3m_bail(c3__exit); + case c3n: return u3qb_lien(u3t(a), b); + default: u3z(loz); + return u3m_bail(c3__exit); } } } diff --git a/jets/b/need.c b/jets/b/need.c index 2b607eca1..6e0e47d25 100644 --- a/jets/b/need.c +++ b/jets/b/need.c @@ -7,8 +7,7 @@ /* functions */ u3_noun - u3qb_need( - u3_noun a) + u3qb_need(u3_noun a) { if ( 0 == a ) { return u3m_bail(c3__exit); @@ -18,8 +17,7 @@ } } u3_noun - u3wb_need( - u3_noun cor) + u3wb_need(u3_noun cor) { u3_noun a; diff --git a/jets/b/reel.c b/jets/b/reel.c index e1392b88a..e78e7c8ca 100644 --- a/jets/b/reel.c +++ b/jets/b/reel.c @@ -7,9 +7,8 @@ /* functions */ u3_noun - u3qb_reel( - u3_noun a, - u3_noun b) + u3qb_reel(u3_noun a, + u3_noun b) { if ( 0 == a ) { return u3k(u3r_at(u3x_sam_3, b)); @@ -25,8 +24,7 @@ } } u3_noun - u3wb_reel( - u3_noun cor) + u3wb_reel(u3_noun cor) { u3_noun a, b; diff --git a/jets/b/roll.c b/jets/b/roll.c index 278d5320a..4700d3c99 100644 --- a/jets/b/roll.c +++ b/jets/b/roll.c @@ -8,7 +8,7 @@ */ u3_noun u3qb_roll(u3_noun a, - u3_noun b) + u3_noun b) { if ( 0 == a ) { return u3k(u3r_at(u3x_sam_3, b)); diff --git a/jets/b/scag.c b/jets/b/scag.c index 5aef703c2..ad54b0d97 100644 --- a/jets/b/scag.c +++ b/jets/b/scag.c @@ -7,9 +7,8 @@ /* functions */ u3_noun - u3qb_scag( - u3_atom a, - u3_noun b) + u3qb_scag(u3_atom a, + u3_noun b) { if ( !_(u3a_is_cat(a)) ) { return u3m_bail(c3__fail); @@ -35,8 +34,7 @@ } u3_noun - u3wb_scag( - u3_noun cor) + u3wb_scag(u3_noun cor) { u3_noun a, b; diff --git a/jets/b/skim.c b/jets/b/skim.c index 8c933915f..003e461b1 100644 --- a/jets/b/skim.c +++ b/jets/b/skim.c @@ -7,9 +7,8 @@ /* functions */ u3_noun - u3qb_skim( - u3_noun a, - u3_noun b) + u3qb_skim(u3_noun a, + u3_noun b) { if ( 0 == a ) { return a; @@ -22,10 +21,10 @@ switch ( hoz ) { case c3y: return u3nc(u3k(u3h(a)), vyr); - case c3n: return vyr; - default: u3z(hoz); - u3z(vyr); - return u3m_bail(c3__exit); + case c3n: return vyr; + default: u3z(hoz); + u3z(vyr); + return u3m_bail(c3__exit); } } } diff --git a/jets/b/skip.c b/jets/b/skip.c index 15294ff53..6f44643d6 100644 --- a/jets/b/skip.c +++ b/jets/b/skip.c @@ -7,9 +7,8 @@ /* functions */ u3_noun - u3qb_skip( - u3_noun a, - u3_noun b) + u3qb_skip(u3_noun a, + u3_noun b) { if ( 0 == a ) { return a; @@ -22,16 +21,15 @@ switch ( hoz ) { case c3y: return vyr; - case c3n: return u3nc(u3k(u3h(a)), vyr); - default: u3z(hoz); - u3z(vyr); - return u3_none; + case c3n: return u3nc(u3k(u3h(a)), vyr); + default: u3z(hoz); + u3z(vyr); + return u3_none; } } } u3_noun - u3wb_skip( - u3_noun cor) + u3wb_skip(u3_noun cor) { u3_noun a, b; diff --git a/jets/b/snag.c b/jets/b/snag.c index fc2bdb81d..6a0003404 100644 --- a/jets/b/snag.c +++ b/jets/b/snag.c @@ -8,7 +8,7 @@ */ u3_noun u3qb_snag(u3_atom a, - u3_noun b) + u3_noun b) { if ( !_(u3a_is_cat(a)) ) { return u3m_bail(c3__fail); diff --git a/jets/b/sort.c b/jets/b/sort.c index cb7ca49a2..df08279e8 100644 --- a/jets/b/sort.c +++ b/jets/b/sort.c @@ -7,17 +7,15 @@ /* functions */ u3_noun - u3qb_sort( - u3_noun a, - u3_noun b) + u3qb_sort(u3_noun a, + u3_noun b) { // must think about // return u3m_bail(c3__fail); } u3_noun - u3wb_sort( - u3_noun cor) + u3wb_sort(u3_noun cor) { u3_noun a, b; diff --git a/jets/b/weld.c b/jets/b/weld.c index 53fbce2b2..cf55fbce0 100644 --- a/jets/b/weld.c +++ b/jets/b/weld.c @@ -8,7 +8,7 @@ */ u3_noun u3qb_weld(u3_noun a, - u3_noun b) + u3_noun b) { if ( 0 == a ) { return u3k(b); @@ -32,7 +32,8 @@ } } u3_noun - u3kb_weld(u3_noun a, u3_noun b) + u3kb_weld(u3_noun a, + u3_noun b) { u3_noun c = u3qb_weld(a, b);