Skip to content

Initializing a project with a literate Main file does not compile #5577

Closed
@emanuelbuholzer

Description

@emanuelbuholzer

Initializing a project with a literate Main file does not compile. Cabal writes the same content for both a Main.hs and a Main.lhs file. Could we extend cabal such that it generates a valid Main.lhs file?

e.g.

> module Main where

> main :: IO ()
> main = putStrLn "Hello, Haskell!"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions