
On 12/05/05, Samuel Bronson
On 12/05/05, Malcolm Wallace
wrote: At a tangent to what Krasimir said:
The only visible change that is required is to replace hs-source-dir field to hs-source-dirs where the latter will accept a list of directories. The parser can still accept hs-source-dir for backward compatibility.
I was thinking yesterday about whether it would be possible to extend Cabal's parser to allow different spellings for the individual field names in the .cabal file? Krasimir's example of backward-compatibility is one use-case. For myself, I was wondering about internationalisation, e.g. "license" is spelled "licence" in English, "author" is spelled "auteur" in French, etc.
Which language is it spelled "license" in? Anyway, even in English there are a lot of differences between the US and the UK.
The Oxford English Dictionary and Merriam-Webster each give both spellings: "license" and "licence".