<div dir="ltr">Ah, of course. Thanks, Alexey!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 5, 2015 at 3:37 PM, Alexey Shmalko <span dir="ltr"><<a href="mailto:rasen.dubi@gmail.com" target="_blank">rasen.dubi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Probably, the best solution in this case (and most similar cases) is<br>
to send patch to upstream. I believe, grapefruit maintainers will be<br>
glad to see it.<br>
<br>
As far as I know, you can open a bug at<br>
<a href="http://trac.haskell.org/grapefruit/" target="_blank">http://trac.haskell.org/grapefruit/</a>. Mailing list is also a nice place<br>
to try: <a href="http://projects.haskell.org/cgi-bin/mailman/listinfo/grapefruit" target="_blank">http://projects.haskell.org/cgi-bin/mailman/listinfo/grapefruit</a><br>
<br>
Regards,<br>
Alexey<br>
<div class="HOEnZb"><div class="h5"><br>
2015-01-06 1:08 GMT+02:00 Jeffrey Brown <<a href="mailto:jeffbrown.the@gmail.com">jeffbrown.the@gmail.com</a>>:<br>
> Regarding replacing the boot-file, I thought I could delete the original<br>
> .tar.gz file and replace it with one of my own. But that seems like it would<br>
> only be a temporary fix -- would Cabal not discard that for a newer one<br>
> every time I update, thus bringing back the problem?<br>
><br>
> On Mon, Jan 5, 2015 at 2:54 PM, Jeffrey Brown <<a href="mailto:jeffbrown.the@gmail.com">jeffbrown.the@gmail.com</a>><br>
> wrote:<br>
>><br>
>> I did not realize UIItem.hs and UIItem.hs-boot were separate things; I<br>
>> thank Matthew Pickering for pointing out that potential error in a private<br>
>> message.<br>
>><br>
>> It looks like Alan or Kim was right: the 12th line of the boot file reads<br>
>> "#if MIN_VERSION_base(4,7,0)", and the file contains no mention of CPP. I am<br>
>> left with two questions:<br>
>><br>
>> How to enable CPP?<br>
>> ------------------<br>
>> Do I just include the following liine at the top of the boot file?<br>
>> {-# LANGUAGE CPP #-}<br>
>><br>
>> How to replace the boot file?<br>
>> -----------------------------<br>
>> In my <a href="http://hackage.haskell.org" target="_blank">hackage.haskell.org</a> folder there are a lot of subfolders named after<br>
>> Haskell libraries -- arrows, cairo, etc. Almost every one of those includes<br>
>> in turn a single folder with a version number, and within that a .tar.gz<br>
>> file. In order to find the error you all helped me locate, I uncompressed<br>
>> the .tar.gz file in the grapefruit-ui folder. I could alter that object, but<br>
>> that does not seem likely to help, because I would not be altering the data<br>
>> that Haskell actually uses.<br>
>><br>
>> Thanks! This is exciting!<br>
>><br>
>><br>
>> On Mon, Jan 5, 2015 at 2:22 PM, Jeffrey Brown <<a href="mailto:jeffbrown.the@gmail.com">jeffbrown.the@gmail.com</a>><br>
>> wrote:<br>
>>><br>
>>> Thanks guys!<br>
>>><br>
>>> I found the library, though, as a .tar.gz file under<br>
>>> /home/jeff/.cabal/packages/<a href="http://hackage.haskell.org/grapefruit-ui/0.1.0.5" target="_blank">hackage.haskell.org/grapefruit-ui/0.1.0.5</a>, and<br>
>>> when I uncompressed that, found the UIItem file.<br>
>>><br>
>>> I can't find the offending character in it, though. Supposedly it was at<br>
>>> position 12.2 (line 12, column 2, right?), but I only see whitespace there.<br>
>>> The first few lines of it are these ("module" being the first word of the<br>
>>> first line):<br>
>>><br>
>>> module Internal.UIItem (<br>
>>><br>
>>>     -- * User interface items in general<br>
>>>     UIItem (UIItem),<br>
>>>     item,<br>
>>><br>
>>>     -- * Bricks<br>
>>>     Brick,<br>
>>>     brick,<br>
>>>     just,<br>
>>><br>
>>>     -- * Boxes<br>
>>>     Box,<br>
>>>     box,<br>
>>>     with,<br>
>>>     With (With),<br>
>>><br>
>>> On Mon, Jan 5, 2015 at 2:00 PM, Brandon Allbery <<a href="mailto:allbery.b@gmail.com">allbery.b@gmail.com</a>><br>
>>> wrote:<br>
>>>><br>
>>>> On Mon, Jan 5, 2015 at 4:56 PM, Jeffrey Brown <<a href="mailto:jeffbrown.the@gmail.com">jeffbrown.the@gmail.com</a>><br>
>>>> wrote:<br>
>>>>><br>
>>>>> I wanted to find the offending 'i' character, but the file<br>
>>>>> "src/Internal/UIItem.hs-boot" I was unable to find anywhere:<br>
>>>><br>
>>>><br>
>>>> It won't be there, it was removed during cleanup from the failed<br>
>>>> install. Use "cabal get grapefruit-ui" to get a more permanent copy of the<br>
>>>> source.<br>
>>>><br>
>>>> --<br>
>>>> brandon s allbery kf8nh                               sine nomine<br>
>>>> associates<br>
>>>> <a href="mailto:allbery.b@gmail.com">allbery.b@gmail.com</a><br>
>>>> <a href="mailto:ballbery@sinenomine.net">ballbery@sinenomine.net</a><br>
>>>> unix, openafs, kerberos, infrastructure, xmonad<br>
>>>> <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a><br>
>>><br>
>>><br>
>><br>
><br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> _______________________________________________<br>
> Haskell-Cafe mailing list<br>
> <a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
> <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
><br>
</div></div></blockquote></div><br></div>