Hi Racketeers, 

Not sure if this is the right place, since this question is mostly about
Scheme, but I figured there will be a lot of seasoned schemers here
who will be well positioned to help me out on this. (Feel free to redirect
me to a more appropriate forum if needed, I have already asked this in
comp.lang.scheme, but it looks inactive.)

If you have used git, you would have noticed the diff hunks have 
this format: 

@@ -k,l +n,m @@ TEXT ---> this is the hunk header 
+ something added 
- something removed 
... 

With most other languages, git provides built-in diff drivers, 
so if you used the diff driver for python you would get the 
enclosing function or class name in the location of TEXT 
above. Similarly other language drivers have important forms 
shown alongside the hunk header to make the give the diff a 
useful landmark. 

I have been working on a patch for git to introduce a driver for scheme[1] 
as well, but I needed some opinions from more experienced schemers. 

For now I am only taking the following forms for the hunk headers: 

- `define` 
- `define-syntax` 
- `define-*` (any other define form that may have been introduced via 
macro) 

Is there any other form that would make a useful landmark for hunk headers 
that I should include, that will work well across most Scheme 
implementations? 

Regards
Atharva 

[1] 
https://public-inbox.org/git/3def82fd-71a7-3ad9...@kdbg.org/T/#m85a1cbe58b1494d0dc43601bae446563b791fa9e
 
<https://public-inbox.org/git/3def82fd-71a7-3ad9-0fa2-48598bfd3...@kdbg.org/T/#m85a1cbe58b1494d0dc43601bae446563b791fa9e>
 

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/2b5efdf8-799a-4d43-8afc-5d1e5e104e94n%40googlegroups.com.

Reply via email to