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

Add Haskell Seed Script #23

Open
mkasberg opened this issue Oct 7, 2018 · 1 comment
Open

Add Haskell Seed Script #23

mkasberg opened this issue Oct 7, 2018 · 1 comment
Labels
Hacktoberfest Good issue for Hacktoberfest help wanted Extra attention is needed new language Add a sample script in a new language

Comments

@mkasberg
Copy link
Owner

mkasberg commented Oct 7, 2018

Add a Haskell "seed" script to the seeds folder. Basically, this would be an executable Haskell file (with #!/usr/bin/env stack that parses some simple command-line arguments (like -h or -t, see other scripts as examples) and prints a sentence or two to the command line. It's intended to demonstrate how to parse command line arguments and print something to the console in Haskell.

This might help: https://haskell-lang.org/get-started

See CONTRIBUTING.md, and feel free to ask for help or clarification here.

As a rough example, see #26.

@mkasberg mkasberg added new language Add a sample script in a new language Hacktoberfest Good issue for Hacktoberfest labels Oct 7, 2018
@mkasberg mkasberg added the help wanted Extra attention is needed label Sep 26, 2020
@mkasberg
Copy link
Owner Author

mkasberg commented Oct 5, 2022

E.x. Install haskell-platform with apt-get in the Dockerfile and use this as a starting point:

#!/usr/bin/env runhaskell

main :: IO ()
main = putStrLn "Hello, World!"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hacktoberfest Good issue for Hacktoberfest help wanted Extra attention is needed new language Add a sample script in a new language
Projects
None yet
Development

No branches or pull requests

1 participant