cvs commit: fptools/libraries/Cabal/Distribution/Simple Utils.hs
Ross Paterson
ross at haskell.org
Wed Dec 29 21:03:45 EST 2004
ross 2004/12/29 18:03:45 PST
Modified files:
libraries/Cabal/Distribution/Simple Utils.hs
Log:
Add a function getOptionsFromSource to fetch LANGUAGE and OPTIONS pragmas
from the initial part of a Haskell source module (as proposed by SimonM
on the libraries list).
Also export the auxiliary function stripComments, which does what it says,
optionally preserving pragmas.
Revision Changes Path
1.7 +71 -1 fptools/libraries/Cabal/Distribution/Simple/Utils.hs
More information about the Cvs-libraries
mailing list