[Haskell-cafe] ANNOUNCE: ipatch, the interactive patch editor

Joachim Breitner mail at joachim-breitner.de
Mon Aug 23 16:49:20 EDT 2010


Am Montag, den 23.08.2010, 13:43 -0700 schrieb Jason Dagit:
> On Mon, Aug 23, 2010 at 1:32 PM, Joachim Breitner
> <mail at joachim-breitner.de> wrote:
>         $ ipatch split --help
>         Usage: darcs split [OPTION]... <PATCHFILE>
> Darcs?
>         $ ./dist/build/ipatch/ipatch apply --help
>         Usage: darcs apply [OPTION]... <PATCHFILE>
> Darcs?
> I assume those are typos left over from borrowing code?

actually I’m not borrowing the code, I’m using the Darcs API, including
the Help and Command infrastructure, which is not fully generalized yet.
I need to have a look at the Darcs code and think of the best way of
making it more configurable, without changing it too much or making it
harder for Darcs itself.

The function in question is getCommandHelpCore in Darcs.Commands. Maybe
the name of the executable could be placed in the 'Command' record, then
it would be available everywhere where needed. If someone from the Darcs
team wants to help here, that would of course be appreciated.


Joachim "nomeata" Breitner
  mail: mail at joachim-breitner.de | ICQ# 74513189 | GPG-Key: 4743206C
  JID: nomeata at joachim-breitner.de | http://www.joachim-breitner.de/
  Debian Developer: nomeata at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20100823/d8ffbd87/attachment.bin

More information about the Haskell-Cafe mailing list