Documentating doWithIndex:

Pupeno pupeno at pupeno.com
Wed May 11 15:34:52 PDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Here's a little patch adding doWithIndex: to the documentation.
- -- 
Pupeno: pupeno at pupeno.com - http://pupeno.com
Reading Science Fiction ? http://sfreaders.com.ar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCgoiPfW48a9PWGkURAnPEAJ9zH8i805LLV8nBDzMHwKJIOH2WEwCfbXRk
kqa8e3Mk8OtVTP6JZla5sYA=
=1NU0
-----END PGP SIGNATURE-----
-------------- next part --------------

New patches:

[doWithIndex documented (and indexed).
José Pablo Ezequiel Fernández Silva <pupeno at pupeno.com>**20050511223228] {
hunk ./doc/progman.lyx 6294
-\begin_inset Formula $(F \circ G)(x) = F(G(x))$
+\begin_inset Formula $(F\circ G)(x)=F(G(x))$
hunk ./doc/progman.lyx 7886
+\layout Description
+
+
+\family typewriter 
+
+\begin_inset LatexCommand \index{doWidthIndex: (message)}
+
+\end_inset 
+
+
+\family default 
+doWithIndex: executes a block with :each containing each of the collection's
+ element and :index their indexes, respectivly.
}

Context:

[SmallInts can now be passed where a Float is expected in ExtLib.
eihrul at tunes.org**20050511221050] 
[Parser bug-fix for #() arrays.
eihrul at tunes.org**20050510152726] 
[Bug-fix for combinationsCollect:
eihrul at tunes.org**20050510152516] 
[Comment typo fix for combinationsDo:
eihrul at tunes.org**20050510152113] 
[Better support for the collect:into: interface.
eihrul at tunes.org**20050510092133] 
[Added combinationsDo:, combinationsCollect:, and combinationsInject:into: to perform combinatorial iteration over multiple collections.
eihrul at tunes.org**20050510090706] 
[unix/directory.c tweak for the Solaris conditionalization (exposed by a build issue on x86).
Brian T. Rice <water at tunes.org>**20050509235249] 
[Beginnings of an assembler.
eihrul at tunes.org**20050503224819] 
[Lexer tweak - always read floating point exponent in radix 10.
eihrul at tunes.org**20050502230649] 
[More NEWS since 0.3.3.
Brian T. Rice <water at tunes.org>**20050502220811] 
[Updated NEWS.
eihrul at tunes.org**20050502220357] 
[Fixes for optional keywords resending.
eihrul at tunes.org**20050502212724] 
[Made "make install" more portable to BSD systems.
Brian T. Rice <water at tunes.org>**20050502211930] 
[Debugger fixes for reference variables.
eihrul at tunes.org**20050502203636] 
[Make the Debugger parse interactively for easier inspection.
eihrul at tunes.org**20050502144857] 
[Debugger bug-fix.
eihrul at tunes.org**20050502070447] 
[Removing accidentally committed print-debugging code from Debugger.
eihrul at tunes.org**20050502065049] 
[Many macro-expansion and cascading fixes.
eihrul at tunes.org**20050502061746] 
[Total revert of the bootstrap.slate cleanup, since something is broken and not easily debugged.
Brian T. Rice <water at tunes.org>*-20050501194901] 
[Reverting part of the bootstrap.slate cleanups.
Brian T. Rice <water at tunes.org>*-20050429155841] 
[Total revert of the bootstrap.slate cleanup, since something is broken and not easily debugged.
Brian T. Rice <water at tunes.org>**20050501194901] 
[Reverting part of the bootstrap.slate cleanups.
Brian T. Rice <water at tunes.org>**20050429155841] 
[Corrected version of Cygwin portabilty patch
David Hopwood <david.hopwood at blueyonder.co.uk>**20050501172356] 
[A new super-debugger!
eihrul at tunes.org**20050501181447] 
[Bug-fix for configure.in
eihrul at tunes.org**20050501162802] 
[Floating-point x86 generation.
eihrul at tunes.org**20050430040445] 
[MR Call refactoring.
eihrul at tunes.org**20050430002953] 
[More MR Generator stuff.
eihrul at tunes.org**20050429204745] 
[Much more MR Generator code.
eihrul at tunes.org**20050429193047] 
[Typo-fix in bootstrap.slate.
Brian T. Rice <water at tunes.org>**20050429051036] 
[Added the `sendTo: unquote macro and updated some comments on the quotation mechanism.
eihrul at tunes.org**20050429032044] 
[Initial stuff for an x86 MR Generator.
eihrul at tunes.org**20050429025420] 
[Various clean-ups for the macro and quotation systems, plus the addition of a `swapWith: macro for exchanging the values of two variables.
eihrul at tunes.org**20050429024821] 
[Potential fix of the remaining C compiler warning in the VM sources.
Brian T. Rice <water at tunes.org>**20050429023544] 
[Miscellaneous bootstrap.slate cleanups.
Brian T. Rice <water at tunes.org>**20050429010259] 
[Added slate-macroexpand-region to the Emacs slate mode and bound it to C-c d (better suggestions welcome, m is used to start, e to evaluate).
Brian T. Rice <water at tunes.org>**20050429005158] 
[Added Interpreter framePointer accessor primitive.
Brian T. Rice <water at tunes.org>**20050428192537] 
[Reverted Complex printing for bootstrap issue reasons.
Brian T. Rice <water at tunes.org>**20050428221307] 
[Forced blank lines between C generator function definition print-outs.
Brian T. Rice <water at tunes.org>**20050428220739] 
[Many miscellaneous MR generation clean-ups.
eihrul at tunes.org**20050428220616] 
[Cygwin portability patch and consolidation of variables from David Hopwood.
Brian T. Rice <water at tunes.org>**20050428202639] 
[XML code cleanups.
Brian T. Rice <water at tunes.org>**20050428031711] 
[Use of `>> in Path UnitTest suite.
Brian T. Rice <water at tunes.org>**20050414223406] 
[Altered Complex printing so that "x + y i" is a constructive Slate expression to build a complex number, and used the code nature to print the value (using quotation).
Brian T. Rice <water at tunes.org>**20050427193500] 
[Merged UnitValue printFullOn: into printOn:&full:.
Brian T. Rice <water at tunes.org>**20050426235330] 
[Cleanups to the dimensioned-units library. with: was refactored to of: and made to work with arbitrary objects.
Brian T. Rice <water at tunes.org>**20050426232822] 
[Removed provides:/requires: from dimensioned.slate.
Brian T. Rice <water at tunes.org>**20050426204510] 
[Added support for sending a Units name or abbreviation to any number to get the with: unit-construction to happen.
Brian T. Rice <water at tunes.org>**20050426192559] 
[Tweaks to the Fraction-al raisedTo:.
Brian T. Rice <water at tunes.org>**20050425215809] 
[Added Fraction support to raisedTo: exponents (coerces to Float).
Brian T. Rice <water at tunes.org>**20050425214506] 
[Added unit support for dividing by a unit directly (treating it as 1 with: that unit).
Brian T. Rice <water at tunes.org>**20050425210832] 
[Added doubleConfirm: to the REPL and fixed confirm:.
Brian T. Rice <water at tunes.org>**20050425200813] 
[Fixed the post-bootstrap load-order arrangement.
Brian T. Rice <water at tunes.org>**20050425052000] 
[Added methodsAt: to the role introspection library.
Brian T. Rice <water at tunes.org>**20050425045518] 
[Adjusted the image-saving message to string-quote the filename.
Brian T. Rice <water at tunes.org>**20050425042641] 
[Fixed Syntax Node as: Path to handle implicit-context sends.
Brian T. Rice <water at tunes.org>**20050425042552] 
[Changes to make auto-loading work and set up defaults for src/lib/ and the FFI libraries.
Brian T. Rice <water at tunes.org>**20050425042255] 
[Fixed PredicateCollection code typo.
Brian T. Rice <water at tunes.org>**20050425041544] 
[Fixed isSuffixOf:.
Brian T. Rice <water at tunes.org>**20050424223536] 
[Added raisedTo:mod: to Integer to complement inverseMod:. This uses the standard square-and-multiply algorithm.
Brian T. Rice <water at tunes.org>**20050424195911] 
[Added modifiesOwnVariables and modifiesInputVariables to Syntax Block.
Brian T. Rice <water at tunes.org>**20050424191420] 
[Added many comments to method.slate control-flow methods.
Brian T. Rice <water at tunes.org>**20050422200302] 
[More tweaks to the Emacs slate-mode. Inferior mode now highlights correctly in GNU Emacs again.
Brian T. Rice <water at tunes.org>**20050422031534] 
[Made `unquote legal where `literal is normally required.
Brian T. Rice <water at tunes.org>**20050422005627] 
[Initial MR Generator code.
eihrul at tunes.org**20050422003848] 
[Re-added Symbol findSignatureOn:.
Brian T. Rice <water at tunes.org>**20050421225252] 
[Added a preliminary Directory children method.
Brian T. Rice <water at tunes.org>**20050421220316] 
[Fixed Method signature and Method callers, and added helper methods with them.
Brian T. Rice <water at tunes.org>**20050421220157] 
[Made sure warn: didn't leak a reference to a pretty-printer (returns Nil now).
Brian T. Rice <water at tunes.org>**20050421213528] 
[Ensured that removeMethodFrom: raised an error if the selector was not found.
Brian T. Rice <water at tunes.org>**20050421203307] 
[Control-flow clarifications in ExternalResource open/close methods.
Brian T. Rice <water at tunes.org>**20050421201759] 
[Refactored File NotFound into a ExternalResource ConnectionFailure derivation.
Brian T. Rice <water at tunes.org>**20050421201710] 
[Added Sequence newWith: and made use of `>>.
Brian T. Rice <water at tunes.org>**20050421201614] 
[Added Set exclude: aliasing remove:.
Brian T. Rice <water at tunes.org>**20050421201555] 
[More Emacs slate-mode adjustments, cleaning up cruft and supporting Slate run-time messages better in highlighting.
Brian T. Rice <water at tunes.org>**20050421081455] 
[Error checking for unquotation.
eihrul at tunes.org**20050421165427] 
[Emacs slate-mode patches, for highlighting precedence, here/it new semi-globals, and to use addPrototype:.
Brian T. Rice <water at tunes.org>**20050421041150] 
[Added ArrayBacked convertContentsTo: for convenience.
Brian T. Rice <water at tunes.org>**20050420201054] 
[Added an overrideThis hook as Sequence size to enforce error-throwing instead of infinite recursion on the Sequence prototype.
Brian T. Rice <water at tunes.org>**20050420200711] 
[Fixed the REPL printing error-handling hook.
Brian T. Rice <water at tunes.org>**20050420200456] 
[Fixed copyReplaceFrom:to:with: to instantiate the result from the first argument, since the latter may not be an ExtensibleArray.
Brian T. Rice <water at tunes.org>**20050420195909] 
[Added Integer inverseMod: from Slava Pestov.
Brian T. Rice <water at tunes.org>**20050420194316] 
[Replaced FileModule preLoad: with Module installAutoloaders.
Brian T. Rice <water at tunes.org>**20050420075416] 
[Extended Path code with parent/childNamed: methods and adjusted the #expanded method to not throw errors when parts of the path point at non-existent stuff.
Brian T. Rice <water at tunes.org>**20050420075145] 
[Changes to make module.slate code reloadable.
Brian T. Rice <water at tunes.org>**20050418212039] 
[Cleanups to make RootedPath the default Path type.
Brian T. Rice <water at tunes.org>**20050418201503] 
[Fixes to Module code so definedPaths works.
Brian T. Rice <water at tunes.org>**20050418083526] 
[Removed useless and buggy "meta-info" module codee.
Brian T. Rice <water at tunes.org>**20050418082829] 
[Removed preLoad: from the post-bootstrap sequence into Module code.
Brian T. Rice <water at tunes.org>**20050418081113] 
[Updates to Module code for auto-loading.
Brian T. Rice <water at tunes.org>**20050418081036] 
[Made sure Directory code that called close trapped ignorable errors, and made Directory current: return the current Directory object.
Brian T. Rice <water at tunes.org>**20050418080336] 
[Cleaned up the dimensioned units code: turned plural: into an option and changed the standard call sites, and made the unit catalogue slots be immutable.
Brian T. Rice <water at tunes.org>**20050418060358] 
[Added a method String plural (only for system nouns - not intended for general UI usage).
Brian T. Rice <water at tunes.org>**20050418053921] 
[Renamed preparse: to preLoad:.
Brian T. Rice <water at tunes.org>**20050415195147] 
[Made use of `er in SkipList source.
Brian T. Rice <water at tunes.org>**20050415002946] 
[Added UnaryMessage as: Path support (which recurses as much as feasible).
Brian T. Rice <water at tunes.org>**20050415002910] 
[Added a preparse: method to complement load: which makes a load:-proxy out of the prototypes or namespaces defined in the file. This is  experimental and won't work on non-top-level definitions yet or methods.
Brian T. Rice <water at tunes.org>**20050415002733] 
[Added Socket close/disable support.
Brian T. Rice <water at tunes.org>**20050414230324] 
[Uses of ;* in String.
Brian T. Rice <water at tunes.org>**20050414163743] 
[Numeric code minor cleanups.
Brian T. Rice <water at tunes.org>**20050414045644] 
[Aliased concatenateAll: as ;* and merged the two selectors into one with an optional for the separator.
Brian T. Rice <water at tunes.org>**20050414044251] 
[More uses of #[] to include character objects in the source instead of their ASCII codes.
Brian T. Rice <water at tunes.org>**20050413223618] 
[Bytecompiler code simplifications.
Brian T. Rice <water at tunes.org>**20050413220840] 
[Added Sequence concatenateAll:separatedBy:, Sequence chainPairsDo:, String fromCamelCase, and comments.
Brian T. Rice <water at tunes.org>**20050413173912] 
[More i18n code cleanups, untested.
Brian T. Rice <water at tunes.org>**20050413170446] 
[Added String split, String toCamelCase, Sequence concatenateAll:.
Brian T. Rice <water at tunes.org>**20050413170339] 
[Fixes to cacheAs: and added a couple of methods to Syntax Variable for load/store:s.
Brian T. Rice <water at tunes.org>**20050412183530] 
[Fixes to `cache so that it works, and added `cacheAs: when a variable name is easy to pick.
Brian T. Rice <water at tunes.org>**20050412171536] 
[Bug-fixes to addVariable and addInputVariable, and support for optional &prefix for the name.
Brian T. Rice <water at tunes.org>**20050412161815] 
[Uses of "here" in the normal libraries, and a couple of cleanups.
Brian T. Rice <water at tunes.org>**20050412001638] 
[i18n minor cleanups, and use of "here" instead of the lobby.
Brian T. Rice <water at tunes.org>**20050412001550] 
[TAG REL-0-3-3
The Slate Team <slate at tunes.org>**20050411220559] 
Patch bundle hash:
71fa631cc96a8c18ce117e2901b0eb7d4e48f133


More information about the Slate mailing list