Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
emanuelbuholzer opened this issue Sep 17, 2018 · 0 comments
Closed

Comments

@emanuelbuholzer
Copy link

emanuelbuholzer commented Sep 17, 2018

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!"
hrhino added a commit to hrhino/cabal that referenced this issue Dec 20, 2018
This makes it valid Literate Haskell.

Fixes haskell#5577.
hrhino added a commit to hrhino/cabal that referenced this issue Dec 20, 2018
23Skidoo pushed a commit to hrhino/cabal that referenced this issue Jan 15, 2019
23Skidoo pushed a commit to hrhino/cabal that referenced this issue Jan 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant