Opened 8 years ago

Closed 8 years ago

#748 closed bug (worksforme)

VISUAL HASKELL won't find imports

Reported by: Jorge.Pelizzoni@… Owned by:
Priority: normal Milestone:
Component: Compiler Version: 6.5
Keywords: Cc:
Operating System: Windows Architecture: x86
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

I've just installed Visual Haskell (18/04/2006) and things work fine till I try to import any standard package. I've used -v and it just searches in the src directory of the project.

Configuration info:
Visual Haskell 0.1
MS Development Environment 2003 Version 7.1.3088
Microsoft .NET Framework 1.1 Version 1.1.4322 SP1
Microsoft Windows XP Professional Version 5.1.2600 Service Pack 2 Build 2600

Thanks in advance. Cheers,

Jorge.

Change History (2)

comment:1 Changed 8 years ago by Jorge.Pelizzoni@…

By the way, I tried working around the problem by setting the -i option in Properties->Haskell Compiler->GHCOptions. However, it seems impossible to enter directories with blank spaces (default for the installation) and even make reference to "C:", as colons are separators...

comment:2 Changed 8 years ago by simonmar

  • Resolution set to worksforme
  • Status changed from new to closed

You need to explicitly add references to packages in the "References" section of the project hierarchy. Right-click on references, and select "Add Reference" then add the packages you need. You can find out which modules belong to which package by consulting the library documentation.

Note: See TracTickets for help on using tickets.