I have my program saved as prog.c
how do I compile it and run it?
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
./prog