haskell / haskell/c2hs

Please add an option to suppress `LINE` pragma.

Open
#232 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
211
Forks
52
PR merge metrics
No merged PRs in 30d

Description

This comes from https://github.com/haskell/haddock/issues/1001.

If I understand it correctly, the `LINE` is just for debugging. If Cabal building system could pass an option to c2hs in haddock process to suppress the pragma, the haddock issue should be gone.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing where c2hs emits the `LINE` pragma and how command-line options are parsed. Read the linked Haddock issue and inspect the Cabal-to-c2hs invocation context; done means a documented option can suppress the pragma without changing default output.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.