Haskell.org
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview
thread

help

Simon Sin

7 Mar 2011 7 Mar '11
11:40 p.m.

Hi! I'm new to Haskell. Following someone's notes, I was doing this "doubleMe x = x + x". I did this two days ago and it worked. But I try to do it today, I got an error "parse error on input '=' ", This is rather inconsistent and should not happen in a computer compiler (i.e. day one works, day second not work) This comes up in both cases: loading a .hs file and interactively. Can anyone tell me what I did wrong? This happened to both my Win XP and my Ubuntu 10.10 PC. Thank you very much. Cheers. Simon.

Attachments:

  • attachment.html (text/html — 565 bytes)
0 0
Reply
Sign in to reply online Use email software

Back to the thread

Back to the list

HyperKitty Powered by HyperKitty version 1.3.9.