0

I have my program saved as prog.c

how do I compile it and run it?

Jena Alissa
  • 129
  • 1
  • 3
  • 8
  • 3
    What's with the [tag:c] tag and the `.c` file extension? Why aren't you using the [tag:haskell] tag and a `.hs` extension? – wjandrea Oct 18 '18 at 00:57
  • Maybe take a look here, this should help: https://stackoverflow.com/questions/8676331/how-to-run-a-haskell-file-in-interpreted-mode – Jacob Philpott Jan 29 '22 at 10:44

1 Answers1

1

https://wiki.haskell.org/Haskell_in_5_steps

In short you start the haskell enviornment and load your program, then you run it like you would any other command ./prog

j-money
  • 2,332
  • 1
  • 9
  • 20