[Haskell-cafe] pretty printing with comments
minh thu
noteed at gmail.com
Tue Oct 20 12:58:34 EDT 2009
2009/10/20 Niklas Broberg <niklas.broberg at gmail.com>:
> Hi again,
>
>> However:
>> - The source code produced was incorrect:
>>
>>
>> class Dir d where
>>
>> was rewritten as:
>>
>> class Dir dwhere{
>
> That's weird, I'll look into it, thanks.
>
>> instance Dir Directory where
>> localDir (Local f) = return f
>>
>> type URL= String
>>
>>
>> was rewritten as:
>>
>>
>> instance Dir Directory where
>> localDir (Local f) = return f
>>
>> typeURL= String
>
> Sorry, I don't see the difference between these two. Did you write the
> correct one twice by mistake?
In case Pasqualino doesn't see your mail real soon...
Maybe the difference is the missing space between "type" and "URL".
Cheers,
Thu
More information about the Haskell-Cafe
mailing list