updating CHANGES.html
parent
c3540aaf7a
commit
a380526f12
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><code>2each ( seq seq quot -- quot: elt -- elt )</code> combinator</li>
|
<li><code>2each ( seq seq quot -- quot: elt -- elt )</code> combinator</li>
|
||||||
<li><code>join ( seq glue -- seq )</code> combinator. Takes a sequence of sequences, and constructs a new sequence with the glue in between each sequence. For example:
|
<li><code>join ( seq glue -- seq )</code> word. Takes a sequence of sequences, and constructs a new sequence with the glue in between each sequence. For example:
|
||||||
<pre> [ "usr" "bin" "grep" ] "/" join
|
<pre> [ "usr" "bin" "grep" ] "/" join
|
||||||
<b>"usr/bin/grep"</b></pre></li>
|
<b>"usr/bin/grep"</b></pre></li>
|
||||||
<li>Integers now support the sequence protocol. An integer is an increasing sequence of its predecessors. This means the <code>count ( n -- [ 0 ... n-1 ] )</code> word is gone; just use <code>>vector</code> instead. Also, <code>project</code> has been made redundant by <code>map</code>.</li>
|
<li>Integers now support the sequence protocol. An integer is an increasing sequence of its predecessors. This means the <code>count ( n -- [ 0 ... n-1 ] )</code> word is gone; just use <code>>vector</code> instead. Also, <code>project</code> has been made redundant by <code>map</code>.</li>
|
||||||
|
|
@ -53,6 +53,11 @@
|
||||||
<li>More descriptive "out of bounds" errors.</li>
|
<li>More descriptive "out of bounds" errors.</li>
|
||||||
<li>New <code>with-datastack ( stack word -- stack )</code> combinator.</li>
|
<li>New <code>with-datastack ( stack word -- stack )</code> combinator.</li>
|
||||||
<li>New <code>cond ( conditions -- )</code> combinator. It behaves like a set of nested <code>ifte</code>s; see its documentation comment for details. Note that it does not compile.</li>
|
<li>New <code>cond ( conditions -- )</code> combinator. It behaves like a set of nested <code>ifte</code>s; see its documentation comment for details. Note that it does not compile.</li>
|
||||||
|
<li>Completely redid infix algebra in <code>conrib/algebra/</code>. Now, vector operations are possible
|
||||||
|
and the syntax doesn't use so many spaces. New way to write the quadratic formula:
|
||||||
|
<pre>MATH: quadratic[a;b;c] =
|
||||||
|
plusmin[(-b)/2*a;(sqrt(b^2)-4*a*c)/2*a] ;</pre>
|
||||||
|
(Daniel Ehrenberg)</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
@ -172,6 +177,7 @@ write1 ( char -- )</pre>
|
||||||
|
|
||||||
<li>md5 hashing algorithm in <code>contrib/crypto/</code> (Doug Coleman).
|
<li>md5 hashing algorithm in <code>contrib/crypto/</code> (Doug Coleman).
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
IN: parse-k
|
IN: infix
|
||||||
USING: sequences kernel math strings combinators namespaces prettyprint io inspector
|
USING: sequences kernel math strings combinators namespaces prettyprint io inspector
|
||||||
errors parser generic lists kernel-internals hashtables words vectors ;
|
errors parser generic lists kernel-internals hashtables words vectors ;
|
||||||
! remove: inspector
|
! remove: inspector
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue