darcs

Patch 1161 added the re-designed options system, not yet used any...

Title added the re-designed options system, not yet used any...
Superseder Nosy List bfrk
Related Issues
Status obsoleted Assigned To
Milestone

Created on 2014-05-22.02:08:19 by bfrk, last changed 2014-11-18.06:51:15 by ganesh.

Files
File name Status Uploaded Type Edit Remove
added-the-re_designed-options-system_-not-yet-used-anywhere.dpatch bfrk, 2014-05-22.02:08:19 application/x-darcs-patch
patch-preview.txt bfrk, 2014-05-22.02:08:19 text/x-darcs-patch
unnamed bfrk, 2014-05-22.02:08:19
See mailing list archives for discussion on individual patches.
Messages
msg17477 (view) Author: bfrk Date: 2014-05-22.02:08:19
I am sending this patch prematurely to give you an impression of the kind of
re-factorings I have in mind. The conversion of the old D.UI.Arguments (see
D.UI.Options.All) is not yet complete, but I think I have covered most of
the hard cases, the rest is just menial work.

The documentation is a bit more extensive than usual, particularly for the
Core module which contains a lot more comments than code. I hope my prose is
understandable to non-mathematicians ;-) It's all in haddock format, BTW.

You can safely apply this patch to your working darcs repo, the new modules
are not used anywhere yet and I checked that all the tests succeed.

The big piece that is still missing is a new conception I have for the
Commands subsystem (D.UI.{Commands,RunCommand}). Among other changes, this
will (of course) make use of the new options design, but I have some other
ideas that will make it simpler and less ad-hoc and (hopefully) easier to
understand. I think I'll send another small prototype module to the list as
I did before, to explain these ideas.

1 patch for repository http://darcs.net/screened:

Thu May 22 03:32:48 CEST 2014  benjamin.franksen@helmholtz-berlin.de
  * added the re-designed options system, not yet used anywhere
Attachments
History
Date User Action Args
2014-05-22 02:08:19bfrkcreate
2014-05-29 22:42:52ganeshsetstatus: needs-screening -> in-discussion
2014-11-18 06:51:15ganeshsetstatus: in-discussion -> obsoleted