Home > Lexical Error > Lexical Error At Character ' 8220'

Lexical Error At Character ' 8220'

Contents

A world with a special political system Did Pokemon start off as a Manga? xterm, urxvt, etc.)? Log in with Facebook fork download copy esc to close main = do print "What is your name?" name <- “Steve” print ("Hello " ++ name ++ "!") bWFpbiA9IGRvCiAgICBwcmludCAiV2hhdCBpcyB5b3VyIG5hbWU/IgogICAgbmFtZSA8LSDigJxTdGV2ZeKAnQogICAgcHJpbnQgKCJIZWxsbyAiICsrIG5hbWUgKysgIiEiKQo= Compilation error Shortest code to produce non-deterministic output How come the Sun's gravity can hold distant planets in orbit, but cannot rip humans off Earth? http://globalinfoindex.com/lexical-error/lexical-error-in-string-character-literal-at-character.php

share|improve this answer answered Feb 5 '11 at 22:13 delnan 72.1k6106188 add a comment| up vote 1 down vote Are the characters around div backquotes rather than normal quotes? I don't know how to change lookupTitle but the other I've already changed. The first stage in compiling a Haskell module is lexical analysis, in which your program text is broken up into tokens that are then processed by the parser. Presumably you got those fancy quotes by copying the code from a word processor (or writing it in one, I suppose) or some type set source (like a PDF file or this contact form

Lexical Error In String/character Literal At Character '\n'

If you just type the code into a plain text editor (and don't use input methods to insert unicode characters on purpose), this shouldn't happen. Neither of which I can help you. The whole declaration of your function convertToHTML will then read convertToHTML :: String -> String convertToHTML x = specialTags $ headings $ endings $ beginnings $ replace "---" "


" x So Ideone is powered by Sphere Engine™ Home Terms of use API Language FAQ Credits Feedback & Bugs desktop mobile 15, 1.34s, 2.63s × Report bug / make suggestion Close submit ×

Does using documentation as a developer make me look unprofessional? What's the verb for "to drink small amounts of drink"? Why is water-contaminated fuel bad, but water-injection is not? The Loose Astronaut How to distinguish between American Indians and Indian Indians in native English (language) parlance?

You have “ which is left double quation mark while the standard lexical element is the simple quotation mark (") Also, since you're adding a single letter, you can also use Haskell Multiline String How do I use mathmode in tables to write physics formulae? Looks like bookAuthors is indented one extra space. share|improve this answer answered Feb 5 '11 at 22:12 Jeremiah Willcock 19.2k24869 Oh wow that was an easy fix, I feel kind of stupid now.

They need to be to allow a function name to be used as an infix operator. I recently installed ghc 6.6.1 on my Windows Vista machine. Is the equation pH+pOH=14 still valid at a different temperature? Takagi looked like?

Haskell Multiline String

ZZZzzz…)2015-10-29 20:23:17 +0100marcoy([email protected])2015-10-29 20:24:59 +0100roelof([email protected]/web/freenode/ip.82.74.205.109)2015-10-29 20:24:59 +0100 clrnd: I think you meant to use " not “ or ”.2015-10-29 20:25:24 +0100 I hate those quotes.2015-10-29 20:25:37 +0100 Hello, http://www.dreamincode.net/forums/topic/342832-haskell-parse-error-on/ Not the answer you're looking for? Lexical Error In String/character Literal At Character '\n' Why are the railings in Rivendell so low? Join them; it only takes a minute: Sign up Lexical error in Haskell when concatenating strings up vote 1 down vote favorite I am trying to insert a character ('A') into

What went wrong and what could have been done better? this contact form How to set up love interests for player characters Shortest code to produce non-deterministic output What is this shrub/plant? How should a "working mathematician" think about sets? (ZFC, category theory, urelements) Why is water-contaminated fuel bad, but water-injection is not? For ghci: What terminal are you using (e.g.

Not the answer you're looking for? I am very very new to haskell meaning I'm in a 2 credit course that teaches us the very basics of functions and we have a professor that only gives us current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. have a peek here So the interpreter seems to work fine.

But I've got an error on bookAuthors. Was This Post Helpful? 0 Back to top MultiQuote Quote + Reply ← Previous Topic Functional Programming Next Topic → Page 1 of 1 Related TopicsbetaHaskell Parse Error On Let Can you benefit from a second casting of Armor of Agathys while the first is still active?

I suppose replace "---"
" x should read replace "---" "
" x.

Hot Network Questions Loading... I'm looking for some mathematics that will challenge me as a year 12 student. Join them; it only takes a minute: Sign up Lexical error at charcter \US up vote 1 down vote favorite I need to remake this functions with high order functions. Also, please let us know the results of running these commands in that terminal: echo $TERM echo $LANG comment:2 Changed 5 years ago by igloo Status changed from new to infoneeded

PrimitiveParser Method to replace inefficient building of lists using searchcursor Why are Matthew, Mark, and Luke called 'synoptic' gospels? My problem is as follows: Any positive integer i can be expressed as i = 2^n*k, where k is odd, that is, as a power of 2 times an odd number. Is it legal to use Raspberry Pi to develop a product and sell it? Check This Out I highly recommend an editor where you can use a monospace font, especially for a language like Haskell where whitespace matters. –MatrixFrog Oct 19 '11 at 23:08 I use

Not the answer you're looking for? HUGS doesn't compile it too. no ;-)2009-11-12 08:59:34 +0100 there aren't very many subscripts in there sadly2009-11-12 08:59:56 +0100encryptio(Read error: 145 (Connection timed out))2009-11-12 09:00:03 +0100 it's funny how you know exactly what the asked 5 years ago viewed 6949 times active 5 years ago Blog How Do Software Developers in New York, San Francisco, London and Bangalore… Related 0Haskell: recursion with array arguments761Getting started

more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed See http://en.wikipedia.org/wiki/Byte_Order_MarkSomehow you'll have to persuade you editor not to use the BOM, or make GHC accept it... What is this aircraft with elaborate folding wings? Browse other questions tagged haskell filter or ask your own question.

Join them; it only takes a minute: Sign up Haskell Error lexical error in string/character literal at character ' \r' up vote 1 down vote favorite Hello I'm trying to write Forever Do handstand push-ups hit all the three shoulder heads? You can't use that character (or its counter-part ) for strings in Haskell (or, for that matter, any other language that I'm aware of). std::string += operator cannot pass 0 as argument Advisor drops MSci student suddenly in final semester Why is Cuba still leasing Guantanamo Bay to the US?

Download in other formats: Comma-delimited Text Tab-delimited Text RSS Feed Powered by Trac 1.0.9 By Edgewall Software. We call n the exponent of 2 in i. Today's Topics Dream.In.Code > Programming Help > Other Languages > Functional Programming Haskell - parse error on '=' Page 1 of 1 New Topic/Question Reply 1 Replies - 1336 Views - Sign up Sign in Can't sign in?

scanl (+) 1) ↺)2009-11-12 08:57:51 +0100 > do x ← Nothing; y ← Just "something; return y2009-11-12 08:57:51 +0100 [0,1,1,2,3,5,8,13,21,34,55,89,144,233,377,610,987,1597,2584,4181,6765,10946...2009-11-12 08:57:52 +0100 :2009-11-12 08:57:53 +0100 Is Configuration Management useable for a small number of servers? James Potter and the Cloak of Invisibility - Why didn't he use it to hide the family from Voldemort? You'll need to use boring old ".

Word for a single tunnel within a "tunnel complex" or the complex itself Why didn't Hans Gruber know what Mr. asked 5 years ago viewed 938 times active 1 year ago Blog How Do Software Developers in New York, San Francisco, London and Bangalore… Related 5Haskell: lexical error in string/character literal Truth Stone: Effects on the justice system, and criminal world Why were people led to believe that the Apollo mission was fake in Interstellar?