I get an error when i try to import GLUT package
import Graphics.Rendering.OpenGL
import Graphics.UI.GLUT
The error i am getting is :
I don't know how to use Graphics in haskell,
Tell me how i can import GLUT package if it says WinHugs can't find Graphics.UI.GLUT
package.
Update: It would be really nice to get a video link, to understand it fast.
WinHugs is really old, and hasn't been updated since 2006. Please switch to the Haskell Platform which uses the GHC compiler instead. If you do that, your code will work out-of-the-box, because the GLUT package is included in the Platform by default.