<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Developers, Developers, Developers! &#187; ghci</title>
	<atom:link href="http://maksim.sorokin.dk/it/tag/ghci/feed/" rel="self" type="application/rss+xml" />
	<link>http://maksim.sorokin.dk/it</link>
	<description>Maksim Sorokin IT Blog</description>
	<lastBuildDate>Sun, 05 Feb 2012 19:37:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
		<item>
		<title>Easy Way to Include a Module From Different Folder in Haskell</title>
		<link>http://maksim.sorokin.dk/it/2010/05/11/easy-way-to-include-a-module-from-different-folder-in-haskell/</link>
		<comments>http://maksim.sorokin.dk/it/2010/05/11/easy-way-to-include-a-module-from-different-folder-in-haskell/#comments</comments>
		<pubDate>Tue, 11 May 2010 19:29:58 +0000</pubDate>
		<dc:creator>Maksim Sorokin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ghci]]></category>
		<category><![CDATA[Haskell]]></category>

		<guid isPermaLink="false">http://maksim.sorokin.dk/it/?p=177</guid>
		<description><![CDATA[So you just want to include a module from a different folder in Haskell. Of course, you can easily make a cabal module, but sometimes you just need easy and fast (or maybe temporary) solution. During ghci startup just add -i&#60;dir&#62; parameter where &#60;dir&#62; stands for directory with module you want to import. For example [...]]]></description>
			<content:encoded><![CDATA[<p>So you just want to include a module from a different folder in Haskell. Of course, you can easily make a <a href="http://www.haskell.org/cabal/">cabal</a> module, but sometimes you just need easy and fast (or maybe temporary) solution.</p>
<p>During <a href="http://www.haskell.org/ghc/">ghci</a> startup just add <code>-i&lt;dir&gt;</code> parameter where <code>&lt;dir&gt;</code> stands for directory with module you want to import.<br />
For example if you want to include a module from parent directory:</p>
<pre>ghci -i../</pre>
]]></content:encoded>
			<wfw:commentRss>http://maksim.sorokin.dk/it/2010/05/11/easy-way-to-include-a-module-from-different-folder-in-haskell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

