[darcs-devel] [issue539] Feature request: make darcs aware of function definitions

Antonio Regidor García bugs at darcs.net
Thu Sep 20 11:51:45 UTC 2007


New submission from =?iso-8859-1?q?Antonio=20Regidor=20Garc=EDa?= <a_regidor at yahoo.es>:

Hi,

Now, if patches make changes to different lines or different files, they don't conflict. It would
be nice to have the same behaviour for (Haskell) function definitions. There is 2 possible ways to
do this:

1) New patch types to add a function definition, remove a function definition, and change a
function definition.

2) Do this automatically, like in the case of lines, with --haskell-mode or something like that,
manage definitions the same way as lines are managed now, so that darcs knows which definitions a
patch changes, and regardless of the type of patches, patches to different definitions don't
conflict. In this case, lines should be managed, also.

I didn't read darcs source (yet) but probably 1) should not be difficult using some parsing
library to split a file in function definitions.

Antonio Regidor García

____________________________________________________________________________________
Sé un Mejor Amante del Cine                         
¿Quieres saber cómo? ¡Deja que otras personas te ayuden!
http://advision.webevents.yahoo.com/reto/entretenimiento.html

----------
messages: 2134
nosy: a_regidor, beschmi, droundy, kowey, tommy
status: unread
title: Feature request: make darcs aware of function definitions

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue539>
__________________________________


More information about the darcs-devel mailing list