Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs

Haskell question


i have this in my "main.hs":

doubleMe x = x + x;
doubleUs x y = doubleMe x + doubleMe y

when i click on "Run" button, it gives this error:

GHCi, version 8.6.5

:3:1: error:
* Variable not in scope: main
* Perhaps you meant `min' (imported from Prelude)

2 years ago
You are viewing a single comment. View All