Interesting. I have a similar, but worse problem. For me, ':load'ing main.hs
would fail to find the imported files. The only thing I appear to be able to
:load is files that don't import from local directories.
2009/1/22 Peter Verswyvelen
> I have a silly problem.
> I'm using Emacs with the Hask
On my Mac I've had the same problem. Commenting out lines
(unless (equal default-directory root)
(setq default-directory root)
(inferior-haskell-send-command
proc (concat ":cd " default-directory)))
solved it for me.
On 22 Jan 2009, at 20:23, Andr
mmm, it seems that the code is searching for the location of a cabal file
and uses that as the current directory, assuming all source code is relative
to that directory, instead of using the source directive in that cabal file.
On Thu, Jan 22, 2009 at 6:23 PM, Andrew Wagner wrote:
> Interesting. I
Oops, sorry, forgot to mention that lines worth commenting were in
"inf-haskell.el" file.
On 22 Jan 2009, at 20:23, Andrew Wagner wrote:
Interesting. I have a similar, but worse problem. For me, ':load'ing
main.hs would fail to find the imported files. The only thing I
appear to be able to
indeed, that works! the comment above those lines is:
";; Not sure if it's useful/needed and if it actually works."
:-)
On Thu, Jan 22, 2009 at 6:41 PM, Miguel Mitrofanov wrote:
> On my Mac I've had the same problem. Commenting out lines
>
> (unless (equal default-directory root)
>
Not that you're looking to switch editors, but if you want something a
little more hassle-free:
http://www.n-brain.net/unashots/Haskell/ErrorHighlighting.png
Regards,
John
On Jan 22, 2009, at 10:17 AM, Peter Verswyvelen wrote:
I have a silly problem.
I'm using Emacs with the Haskell
It's too bad Visual Haskell was not continued, since a free version of the
Visual Studio platform is available now.
I felt Visual Haskell was very promising, like on the fly type inference
with tool tips, code completion, built in Cabal support, etc...
On Thu, Jan 22, 2009 at 6:50 PM, John A. De
Hmm, strange. This doesn't appear to fix my problem. Perhaps I have
something bigger broken locally :(
On Thu, Jan 22, 2009 at 12:44 PM, Peter Verswyvelen wrote:
> indeed, that works! the comment above those lines is:
> ";; Not sure if it's useful/needed and if it actually works."
>
> :-)
>
> On
After emacs started your GHCi session, when you manually type
:cd "the full path of the directory of your Main.hs"
:load "Main.hs"
Does it work then?
Can you use GHCi from outside Emacs?
On Fri, Jan 23, 2009 at 1:09 AM, Andrew Wagner wrote:
> Hmm, strange. This doesn't appear to fix my problem
looks like a neath editor. too bad on windows you don't get anti aliased
fonts (I guess it uses an old J2SE or something?)
at first sight I was not able to find Haskell support in the freely
downloadable version. is this available in the commercial version?
On Thu, Jan 22, 2009 at 6:50 PM, John A
No, Haskell support in the free version too. However, you'll have to
add the tools to compile .hs files in the "Tools" menu. You can pipe
the output to directly highlight errors/warnings in the document
(which is what's done in the screenshot below), because the editor
understands what GH
11 matches
Mail list logo