Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7524265
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T03:03:00+00:00 2026-05-30T03:03:00+00:00

Using Hlint via the command prompt works for me, but I have problem trying

  • 0

Using Hlint via the command prompt works for me, but I have problem trying to perform the GHCi integration.

http://community.haskell.org/~ndm/darcs/hlint/hlint.htm says that “the script is at hlint.ghci [link], and a copy is installed locally in the data directory. To use, add the contents to your GHCi startup file.”.

C:\Users\X\AppData\Roaming\cabal\hlint-1.8.23 contains this hlint.ghci file.

Now I want to find the GHCi startup file. I am using Windows 7 and according to http://www.haskell.org/ghc/docs/latest/html/users_guide/ghci-dot-files.html the ghci.conf file should be in a folder like …/appdata/ghc. But my ghc folder (C:\Users\X\AppData\Roaming\ghc) only contains a ghci_history file.

So I copied the hlint.ghci file to my ghc folder and renamed it to ghci.conf.
Starting now WinGHCi it crashes, if I start GHCi it says:

interactive>:10:91:
lexical error in string/character literal at character ‘\n’

interactive>:4:105:
lexical error in string/character literal at character ‘\n’

What am I doing wrong?
Has the problem something to do with the missing GHCi startup file?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T03:03:02+00:00Added an answer on May 30, 2026 at 3:03 am

    The problem was a bug with the hlint.ghci file shipped with HLint version 1.8.23 and below. HLint 1.8.24 is now available which fixes the problem, or use the online copy of hlint.ghci with an older version of HLint.

    This bug was tracked by http://code.google.com/p/ndmitchell/issues/detail?id=531 and I originally said I “will probably fix it later today”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using online interfaces to a version control system is a nice way to have
Using C# .NET 3.5 and WCF, I'm trying to write out some of the
Using TortoiseSVN against VisualSVN I delete a source file that I should not have
I have a C# project in which I use the Memento/Command pattern to implement
I am trying to port my app to iOS5. I am using a TCP
I have resisted asking this seemingly n00b question, but all my recent effort to
Context of rails 3.0.9, using resque 1.17.1 and resque-scheduler 2.0.0.0d. Trying to follow the
Hello I'm trying to control FastHenry2 via Windows automation with Matlab. I'm new to
I have a problem setting up email notifications in SQL Server 2008. I am
Using boost.spirit I try to parse simple command line of the form command:param1 param2...

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.