bai'i'i: Difference between revisions

From Lojban Wiki
Jump to navigation Jump to search
(Import words via API)
 
(Import words via API)
 
Line 1: Line 1:
<table>
==== valsi ====
<tr>
bai'i'i
  <td>valsi</td>  <td>bai'i'i</td>
==== type ====
</tr>
experimental cmavo
<tr>
==== creator ====
  <td>type</td>
[[personal/krtisfranks|krtisfranks]]
  <td>experimental cmavo</td>
==== time entered ====
</tr>
Fri Dec  4 06:30:00 2020
<tr>
 
  <td>creator</td>
== English ==
  <td>[[personal/krtisfranks|krtisfranks]]</td>
=== Definition #72301 - Preferred ===
</tr>
 
<tr>
==== selma'o ====
  <td>time entered</td>
VUhU
  <td>Fri Dec  4 06:30:00 2020</td>
==== definition ====
</tr>
</table>


mekso operator: in ordered tuple/list/vector/sequence <span class="MATH"><i>X</i><sub>1</sub></span>, replace the <span class="MATH"><i>X</i><sub>2</sub></span>th entry with term <span class="MATH"><i>X</i><sub>3</sub></span> of appropriate type, and leave all other entries untouched (optional: where the index for the very first/leading/header entry is <span class="MATH"><i>X</i><sub>4</sub></span>).


==== notes ====


<br /><font size="+2">Examples</font>
<span class="MATH"><i>X</i><sub>1</sub></span> must be some ordered and indexed structure; <span class="MATH"><i>X</i><sub>2</sub></span> must be an index which specifies an entry/element/term which actually appears in <span class="MATH"><i>X</i><sub>1</sub></span>; <span class="MATH"><i>X</i><sub>3</sub></span> is an alternative value of appropriate type which can, and after this operation does, replace the <span class="MATH"><i>X</i><sub>2</sub></span>th entry/element/term; the counting for indices is according to explicitly specified or implicit cultural convention, or the natural convention for the circumstance, or (when ambiguous or unclear) starts with 1, unless <span class="MATH"><i>X</i><sub>4</sub></span> specifies otherwise (in which case, it is according to that specification). Exactly the <span class="MATH"><i>X</i><sub>2</sub></span>th entry is reppaced, and it is replaced with exactly <span class="MATH"><i>X</i><sub>3</sub></span>. For example: in (A, B, C), A is the <span class="MATH"><i>X</i><sub>4</sub></span>th entry (default: 1st); bai'i'i((A, B, C), 2, b, 1) = (A, b, C). <span class="MATH"><i>X</i><sub>2</sub></span> itself could be replaced with a(n ordered) set of index values, in which case <span class="MATH"><i>X</i><sub>3</sub></span> must be an ordered list of replacement values such that they have the same cardinality; in this situation, the <span class="MATH"><i>n</i></span>th index in the index set (according to its ordering) corresponds to an entry in <span class="MATH"><i>X</i><sub>1</sub></span> which gets replaced (respectively) by the <span class="MATH"><i>n</i></span>th entry in <span class="MATH"><i>X</i><sub>3</sub></span>, where the entries in <span class="MATH"><i>X</i><sub>3</sub></span> are themselves counted/indexed/ordered in the usual manner and with the first/leading/header entry being 1st unless somehow explicitly specified otherwise; the index set is automatically ordered according to the same ordering as on <span class="MATH"><i>X</i><sub>3</sub></span> unless explicitly specified otherwise. Example: bai'i'i((A, B, C, D, E, F, G), Set(5, 2), (b, e), 1) = (A, b, C, D, e, F, G), where the ordering on <span class="MATH"><i>X</i><sub>2</sub></span> and <span class="MATH"><i>X</i><sub>3</sub></span> is the standard ordering starting with 1; note that Set(5, 2) is unordered and that the standard ordering rearranges it as (2, 5) with 2 being the 1st entry/element, meaning that the index 2 (corresponding with B in <span class="MATH"><i>X</i><sub>1</sub></span>) gets linked with the first entry of <span class="MATH"><i>X</i><sub>3</sub></span>, which is b, meaning that B gets replaced by b in <span class="MATH"><i>X</i><sub>1</sub></span>.
<hr />
<dl>
</dl>


==== gloss words ====


<table width="100%">
<ul><li>[[natlang/en/find-and-replace|find-and-replace ; for ordered tuples by index]]</li></ul>
  <tr>
  <td width="5%">&nbsp;</td>
  <td width="95%">&nbsp;</td>
  </tr>


  <tr>
==== created by ====
  <td colspan="2">
[[personal/krtisfranks|krtisfranks]]
    <font size="+2">English</font>
==== vote information ====
    <hr />
1
  </td>
   
  </tr>
==== time ====
  <tr>
Fri Dec  4 06:30:00 2020
  <td></td>
  <td>
    <table width="100%">
    <tr>
<font size="+2">
    Definition #72301
- Preferred
</font>
         
    </tr>
      <tr>
        <td width="10%">&nbsp;</td>
<td width="90%">&nbsp;</td>
    </tr>
    <tr>
      <td>selma'o</td>
      <td>VUhU</td>
    </tr>
    <tr>
      <td>definition</td>
      <td>
mekso operator: in ordered tuple/list/vector/sequence <SPAN CLASS="MATH"><I>X</I><SUB>1</SUB></SPAN>, replace the <SPAN CLASS="MATH"><I>X</I><SUB>2</SUB></SPAN>th entry with term <SPAN CLASS="MATH"><I>X</I><SUB>3</SUB></SPAN> of appropriate type, and leave all other entries untouched (optional: where the index for the very first/leading/header entry is <SPAN CLASS="MATH"><I>X</I><SUB>4</SUB></SPAN>).
</td>
    </tr>
    <tr>
      <td>notes</td>
<td>
<SPAN CLASS="MATH"><I>X</I><SUB>1</SUB></SPAN> must be some ordered and indexed structure; <SPAN CLASS="MATH"><I>X</I><SUB>2</SUB></SPAN> must be an index which specifies an entry/element/term which actually appears in <SPAN CLASS="MATH"><I>X</I><SUB>1</SUB></SPAN>; <SPAN CLASS="MATH"><I>X</I><SUB>3</SUB></SPAN> is an alternative value of appropriate type which can, and after this operation does, replace the <SPAN CLASS="MATH"><I>X</I><SUB>2</SUB></SPAN>th entry/element/term; the counting for indices is according to explicitly specified or implicit cultural convention, or the natural convention for the circumstance, or (when ambiguous or unclear) starts with 1, unless <SPAN CLASS="MATH"><I>X</I><SUB>4</SUB></SPAN> specifies otherwise (in which case, it is according to that specification). Exactly the <SPAN CLASS="MATH"><I>X</I><SUB>2</SUB></SPAN>th entry is reppaced, and it is replaced with exactly <SPAN CLASS="MATH"><I>X</I><SUB>3</SUB></SPAN>. For example: in (A, B, C), A is the <SPAN CLASS="MATH"><I>X</I><SUB>4</SUB></SPAN>th entry (default: 1st); bai'i'i((A, B, C), 2, b, 1) = (A, b, C). <SPAN CLASS="MATH"><I>X</I><SUB>2</SUB></SPAN> itself could be replaced with a(n ordered) set of index values, in which case <SPAN CLASS="MATH"><I>X</I><SUB>3</SUB></SPAN> must be an ordered list of replacement values such that they have the same cardinality; in this situation, the <SPAN CLASS="MATH"><I>n</I></SPAN>th index in the index set (according to its ordering) corresponds to an entry in <SPAN CLASS="MATH"><I>X</I><SUB>1</SUB></SPAN> which gets replaced (respectively) by the <SPAN CLASS="MATH"><I>n</I></SPAN>th entry in <SPAN CLASS="MATH"><I>X</I><SUB>3</SUB></SPAN>, where the entries in <SPAN CLASS="MATH"><I>X</I><SUB>3</SUB></SPAN> are themselves counted/indexed/ordered in the usual manner and with the first/leading/header entry being 1st unless somehow explicitly specified otherwise; the index set is automatically ordered according to the same ordering as on <SPAN CLASS="MATH"><I>X</I><SUB>3</SUB></SPAN> unless explicitly specified otherwise. Example: bai'i'i((A, B, C, D, E, F, G), Set(5, 2), (b, e), 1) = (A, b, C, D, e, F, G), where the ordering on <SPAN CLASS="MATH"><I>X</I><SUB>2</SUB></SPAN> and <SPAN CLASS="MATH"><I>X</I><SUB>3</SUB></SPAN> is the standard ordering starting with 1; note that Set(5, 2) is unordered and that the standard ordering rearranges it as (2, 5) with 2 being the 1st entry/element, meaning that the index 2 (corresponding with B in <SPAN CLASS="MATH"><I>X</I><SUB>1</SUB></SPAN>) gets linked with the first entry of <SPAN CLASS="MATH"><I>X</I><SUB>3</SUB></SPAN>, which is b, meaning that B gets replaced by b in <SPAN CLASS="MATH"><I>X</I><SUB>1</SUB></SPAN>.
</td>
    </tr>


      <tr>
[[comments.html?valsi=33633;definition=72301|[View
        <td>gloss words</td>
    Comments For This Definition]]]  
        <td>
          <ul>
            <li>[[natlang/en/find-and-replace|find-and-replace ; for ordered tuples by index]]</li>
          </ul>
        </td>
      </tr>


<br/><font size="+1">Examples</font>
<hr/>
<dl>
</dl>


 
=== Etymology ===
    <tr>
      <td>created by</td>
      <td>[[personal/krtisfranks|krtisfranks]]</td>
    </tr>
    <tr>
      <td>vote information</td>
      <td>1
    </tr>
    <tr>
      <td>time</td>
      <td>Fri Dec  4 06:30:00 2020</td>
    </tr>
    <tr>
        <td></td>
<td>
<a
    href="../comments.html?valsi=33633;definition=72301">[View
    Comments For This Definition]</a> </td>
    </tr>
 
    <tr>
        <td></td>
<td>
    <br /><font size="+1">Examples</font>
    <hr />
    <dl>
    </dl>
    </td>
    </tr>
 
    </table>
      </td>
  </tr>
<tr><td></td><td><table width="100%"><tr><td><font size="+1">Etymology</font></td></tr></table><hr /><dl></dl></td></tr></table>

Latest revision as of 13:58, 13 January 2026

valsi

bai'i'i

type

experimental cmavo

creator

krtisfranks

time entered

Fri Dec 4 06:30:00 2020  

English

Definition #72301 - Preferred

 

selma'o

VUhU

definition

mekso operator: in ordered tuple/list/vector/sequence X1, replace the X2th entry with term X3 of appropriate type, and leave all other entries untouched (optional: where the index for the very first/leading/header entry is X4).

notes

X1 must be some ordered and indexed structure; X2 must be an index which specifies an entry/element/term which actually appears in X1; X3 is an alternative value of appropriate type which can, and after this operation does, replace the X2th entry/element/term; the counting for indices is according to explicitly specified or implicit cultural convention, or the natural convention for the circumstance, or (when ambiguous or unclear) starts with 1, unless X4 specifies otherwise (in which case, it is according to that specification). Exactly the X2th entry is reppaced, and it is replaced with exactly X3. For example: in (A, B, C), A is the X4th entry (default: 1st); bai'i'i((A, B, C), 2, b, 1) = (A, b, C). X2 itself could be replaced with a(n ordered) set of index values, in which case X3 must be an ordered list of replacement values such that they have the same cardinality; in this situation, the nth index in the index set (according to its ordering) corresponds to an entry in X1 which gets replaced (respectively) by the nth entry in X3, where the entries in X3 are themselves counted/indexed/ordered in the usual manner and with the first/leading/header entry being 1st unless somehow explicitly specified otherwise; the index set is automatically ordered according to the same ordering as on X3 unless explicitly specified otherwise. Example: bai'i'i((A, B, C, D, E, F, G), Set(5, 2), (b, e), 1) = (A, b, C, D, e, F, G), where the ordering on X2 and X3 is the standard ordering starting with 1; note that Set(5, 2) is unordered and that the standard ordering rearranges it as (2, 5) with 2 being the 1st entry/element, meaning that the index 2 (corresponding with B in X1) gets linked with the first entry of X3, which is b, meaning that B gets replaced by b in X1.

gloss words

created by

krtisfranks

vote information

1

time

Fri Dec 4 06:30:00 2020

[View Comments For This Definition]


Examples


Etymology