ghci Add a search catalog to automatically load the import module

Source: Internet
Author: User

Isn't there a standard VW compiler in scheme? Look at Chez scheme but only with an interpreter, good grief. I don't have to use the best. decided to return to Haskell's arms, and the recent energy is you.

have been used by the VIM+GHC/GHCI to learn. This time I decided to switch to the IDE and chose Eclipse and ECLIPSEFP as a plugin. What bothers me is that I import a module in Main.hs, and I'm not prompted to find the module. I am obviously with you the main file in the same directory src AH. GHCI: Show paths found that the default search directory is ".", that is, the current directory, not the SRC directory, it really makes me very angry ah. Do I have to load each module manually in ghci each time? Search, find the way is in the SRC parent directory (here is ".") A. ghci file is built in the current directory.

: SET-ISRC

You can add the SRC directory to the search directory. You can also: add other non-SRC directories to the search path, such as Set-ifolder1-ifolder2, which saves you from manually hitting these commands in ghci.

ghci Add a search catalog to automatically load the import module

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.