Opened 3 years ago

Closed 3 years ago

#4925 closed task (fixed)

Use explicit language extensions in base

Reported by: basvandijk Owned by:
Priority: normal Milestone:
Component: libraries/base Version: 7.0.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

Attached is a darcs patch that removes the extension fields from base.cabal and adds LANGUAGE pragmas where needed.

A module becomes more modular when it explicitly declares which language extensions are needed to build it. It doesn't need to depend on an external build script like a make or cabal file.

Attachments (2)

explicit_language_extensions.dpatch (106.8 KB) - added by basvandijk 3 years ago.
explicit_language_extensions.2.dpatch (106.8 KB) - added by basvandijk 3 years ago.

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by basvandijk

Changed 3 years ago by basvandijk

comment:2 Changed 3 years ago by simonpj

  • Resolution set to fixed
  • Status changed from new to closed

Thanks. I fixed a couple of errors and pushed. Please discard the patch you sent; the one I've pushed is an amended version.

Simon

Note: See TracTickets for help on using tickets.