darcs

Patch 309 resolve issue1896: enable witnessesfor library

Title resolve issue1896: enable witnessesfor library
Superseder Nosy List ganesh, mornfall
Related Issues
Status accepted Assigned To
Milestone

Created on 2010-07-21.05:35:48 by ganesh, last changed 2011-05-10.20:36:25 by darcswatch. Tracked on DarcsWatch.

Files
File name Status Uploaded Type Edit Remove
resolve-issue1896_-enable-witnesses-for-library.dpatch ganesh, 2010-07-21.05:35:48 text/x-darcs-patch
unnamed ganesh, 2010-07-21.05:35:48
See mailing list archives for discussion on individual patches.
Messages
msg11810 (view) Author: ganesh Date: 2010-07-21.05:35:48
1 patch for repository http://darcs.net:

Wed Jul 21 06:37:31 BST 2010  Ganesh Sittampalam <ganesh@earth.li>
  * resolve issue1896: enable witnesses for library
Attachments
msg11812 (view) Author: mornfall Date: 2010-07-21.10:00:25
Hi,

Ganesh Sittampalam <bugs@darcs.net> writes:

resolve issue1896: enable witnesses for library
-----------------------------------------------
> hunk ./darcs.cabal 205
>      hs-source-dirs:   src
>      include-dirs:     src
>  
> +    cpp-options:      -DGADT_WITNESSES=1
One thing occurred to me: how are the library users going to get those
CPP macros? I guess gadt.h is not installed by cabal, is it?

I guess the easiest way out is for the library clients to not use those
funny C(...)/FORALL(...) things. We may need to document that, though,
since darcs itself still needs them, so when people look at darcs code
for example usage, they could become quite confused. Maybe a release
note is appropriate, to this effect?

Other than that, ACK.

Yours,
   Petr.
msg11813 (view) Author: ganesh Date: 2010-07-21.10:55:15
Petr Rockai wrote:
> Hi,
> 
> Ganesh Sittampalam <bugs@darcs.net> writes:
> 
> resolve issue1896: enable witnesses for library
> -----------------------------------------------
>> hunk ./darcs.cabal 205
>>      hs-source-dirs:   src
>>      include-dirs:     src
>> 
>> +    cpp-options:      -DGADT_WITNESSES=1
> One thing occurred to me: how are the library users going to get
> those CPP macros? I guess gadt.h is not installed by cabal, is it? 
> 
> I guess the easiest way out is for the library clients to not use
> those funny C(...)/FORALL(...) things. We may need to document that,
> though, since darcs itself still needs them, so when people look at
> darcs code for example usage, they could become quite confused. Maybe
> a release note is appropriate, to this effect?    

Yeah. I did think about this and came to the same conclusion you did
about not using them, given that our end goal is to be rid of them
anyway. I agree re documentation - and we should perhaps settle on a
naming convention, along the lines that we discussed on IRC some days
back.

Ganesh

=============================================================================== 
Please access the attached hyperlink for an important electronic communications disclaimer: 
http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html 
===============================================================================
msg12006 (view) Author: darcswatch Date: 2010-08-06.20:42:39
This patch bundle (with 1 patches) was just applied to the repository http://darcs.net/.
This message was brought to you by DarcsWatch
http://darcswatch.nomeata.de/repo_http:__darcs.net_.html#bundle-e5e246799c38b27303d09692b509a5d5c97dff1e
msg14287 (view) Author: darcswatch Date: 2011-05-10.20:36:25
This patch bundle (with 1 patches) was just applied to the repository http://darcs.net/reviewed.
This message was brought to you by DarcsWatch
http://darcswatch.nomeata.de/repo_http:__darcs.net_reviewed.html#bundle-e5e246799c38b27303d09692b509a5d5c97dff1e
History
Date User Action Args
2010-07-21 05:35:48ganeshcreate
2010-07-21 05:38:21darcswatchsetdarcswatchurl: http://darcswatch.nomeata.de/repo_http:__darcs.net_.html#bundle-e5e246799c38b27303d09692b509a5d5c97dff1e
2010-07-21 10:00:27mornfallsetnosy: + mornfall
messages: + msg11812
2010-07-21 10:55:17ganeshsetmessages: + msg11813
title: resolve issue1896: enable witnesses for library -> resolve issue1896: enable witnessesfor library
2010-08-06 20:42:39darcswatchsetstatus: needs-review -> accepted
messages: + msg12006
2011-05-10 20:36:25darcswatchsetmessages: + msg14287