Ticket #20 (closed feature request: fixed)

Opened 6 years ago

Last modified 5 years ago

Support multiple module's in one file

Reported by: Neil Mitchell Owned by: nibro
Priority: minor Milestone:
Component: parser Version:
Keywords: Cc:

Description

The Haskell standard says nothing about the relationship between modules and files, so the following program is legitimate:

module A where
a :: Int
module B where
b :: Int

Hoogle uses files such as this to store the information generated by Haddock. Hoogle will be switching to use haskell-src-exts shortly, but with a preprocessing hack to split up the module declarations. If HSE supported multiple modules within one file it would be easier.

Change History

Changed 5 years ago by nibro

  • status changed from new to closed
  • resolution set to fixed

This has actually worked for some time now, seems I've forgotten to close the ticket.

Note: See TracTickets for help on using tickets.