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

version pragma #101

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

BebeSparkelSparkel
Copy link

closes #98

@tfausak tfausak added the enhancement New feature or request label Jul 25, 2024
@tfausak
Copy link
Owner

tfausak commented Jul 26, 2024

I see why you changed the Pragma data type, but I'm not sure I want to set things up that way. I think I'd prefer to have the Pragma type parse the pragma itself into command-line arguments, then pass those off to various pragmas (Discover, Version, and so on) to parse as desired, potentially using System.Console.GetOpt if needed.

@BebeSparkelSparkel
Copy link
Author

I tried that at first but my problem was all the pragma code seemed so specific to Discover that I was not sure how to still get the context to the parser for Discover and the general context for Version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generated by cabal-gild Version Pragma
2 participants