I'm trying to build Yi (from the darcs repository) to take a look at it.
The README that comes with it says it's a standard Cabal project so do
what you normally do (paraphrased slightly). The problem is that I'm
not a cabal user just yet and have no idea where to go from here. Just
throwing
I'm trying to build Yi (from the darcs repository) to take a look at it. The README that
comes with it says it's a standard Cabal project so do what you normally do
(paraphrased slightly). The problem is that I'm not a cabal user just yet and have no
idea where to go from here.
The
Well, in this example I don't see how this would even be close to possible.
How would it know that 1 is supposed to be an Int a2.0 a Float? 1 has type
'Num a = a' and 2.0 has type 'Fractional a = a' so how the compiler know
you want Int and Float?
-- Lennart
On 6/16/07, Anatoly Yakovenko
Eclipse does have this which saves you a lot of time:
Fix imports.
Did I miss anyone mentioning such a feature request?
Or is there already a solution around ?
Marc Weber
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
Michael T. Richter:
I'm trying to build Yi (from the darcs repository) to take a look at
it.
I tried that, too, and it seems to me that if you use a different GHC
version than the developers have, you're very likely to be struck. (Now
how will I know what version they use?)
The README that
On Sun, 2007-17-06 at 08:18 +0100, Alistair Bayley wrote:
I'm trying to build Yi (from the darcs repository) to take a look at it.
The README that comes with it says it's a standard Cabal project so do
what you normally do (paraphrased slightly). The problem is that I'm not
a cabal
OK, got the builds to work. I did, in fact, have to go two layers down
to build yi-lib and install it before building yi proper. (I think this
needs to be updated in the docs or repaired, whichever is appropriate.)
So, I have a Yi build. I type Yi and it... dies. It complains about
not having
Michael T. Richter ttmrichter at gmail.com writes:
I am Yi maintainer, and therefore responsible for this mess :)
The Yi build is rather involved (due among others to its dynamic nature), and to
make things worse, the build procedure is not up to date. I'm working on
simplifying things though.
Marc Weber writes:
Eclipse does have this which saves you a lot of time:
Fix imports.
Could you describe the semantics of that more precisely?
--
-David House, [EMAIL PROTECTED]
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
On Sun, Jun 17, 2007 at 10:58:04AM +0100, David House wrote:
Marc Weber writes:
Eclipse does have this which saves you a lot of time:
Fix imports.
Could you describe the semantics of that more precisely?
You get the error:
Not in scope 'c'
and the IDE should figure out automatically
Hi
It's one of the features I want to add to GuiHaskell
(http://www-users.cs.york.ac.uk/~ndm/guihaskell/). Once the main code
base is finished, things like this should be relatively easy.
Thanks
Neil
On 6/17/07, Marc Weber [EMAIL PROTECTED] wrote:
On Sun, Jun 17, 2007 at 10:58:04AM +0100,
Eclipse does have this which saves you a lot of time:
Fix imports.
Could you describe the semantics of that more precisely?
You get the error:
Not in scope 'c'
and the IDE should figure out automatically which used packages have
modules exporting c.
Then it should ask wether you want
Ian Zimmerman [EMAIL PROTECTED] writes:
It has a different focus than the Moss haskell-mode that's normally
used nowadays. Yaham strives, first and foremost, to integrate well
with the rest of Emacs and respect the Emacs ecosystem.
Could you elaborate on this? Perhaps an itemized list of
On Sun, Jun 17, 2007 at 03:39:25PM +0100, Claus Reinke wrote:
in my vim setup, i can hit '_i' (import) or '_im' (import module) on an
Great. To late ;(
I've now implemented this as well. My setup is getting the information
directly from the installed packages (thus ghc-pkg describe package and
Udo Stenzel wrote:
| toLazyByteString :: Builder - L.ByteString
| toLazyByteString m = S.LPS $ inlinePerformIO $ do
| buf - newBuffer defaultSize
| return (runBuilder (m `append` flush) (const []) buf)
Why is this safe? Considering the GHC implementation of IO, isn't there
a real
I've now implemented this as well. My setup is getting the information
directly from the installed packages (thus ghc-pkg describe package and
then ghc -show-iface eachmodule.hi) Because I use caching it
should be reasonable fast ? (I hope so, I still have to do some testing)
The used packages
On Sun, 2007-06-17 at 02:00 +0100, Donnchadh Ó Donnabháin wrote:
Hi Peter,
I'm also just starting to learn Haskell and tried the eclipsefp
eclipse plugin [1] (since my day job is java development).
Hello Donnchadh,
What operating system do you use? I've tried it several times on Fedora
The .hcr format isn't cast in stone, either. Though I'm working on
the implementation, I don't have any immediate plans to use it,
myself. So, if other people have suggestions for how it should be
different, I'd love to hear them.
Aaron
On Jun 5, 2007, at 12:23 AM, Simon Peyton-Jones
Eric wrote:
I'm writing a simple HTTP server and am trying to implement the POST
method.
That's a rather general problem statement, indeed :-) For an
application like this, I'd suggest that explicit resource management is
the way to go, and that you should not be using hGetContents at
I just tried the Haskell Mode using xemacs, adjust my init.el file, loaded
my haskell file, and got great syntax highlighting! So far so good.
But people, emacs is so weird for a Windows user...
For example, ALL windows (and motif?) programs use CTRL-Z for undo. But not
emacs... So after
Brandon S. Allbery KF8NH [EMAIL PROTECTED] writes:
On Jun 15, 2007, at 18:37 , Jason Dagit wrote:
I love to see people using Haskell, especially professionally, but I
have to wonder if the real tool for this job is sed? :-)
Actually, while sed could do that, it'd be a nightmare. You really
On Jun 17, 2007, at 14:04 , Pete Kazmier wrote:
Brandon S. Allbery KF8NH [EMAIL PROTECTED] writes:
On Jun 15, 2007, at 18:37 , Jason Dagit wrote:
I love to see people using Haskell, especially professionally, but I
have to wonder if the real tool for this job is sed? :-)
Actually, while
Roberto Zunino wrote:
Floating out (newBuffer defaultSize) as in
| foo = newBuffer defaultSize
|
| toLazyByteString m = S.LPS $ inlinePerformIO $ do
| buf - foo
| return (runBuilder (m `append` flush) (const []) buf)
would still be safe, AFAICS. Floating out buf instead should
On 6/17/07, Hans van Thiel [EMAIL PROTECTED] wrote:
On Sun, 2007-06-17 at 02:00 +0100, Donnchadh Ó Donnabháin wrote:
What operating system do you use? I've tried it several times on Fedora
Core 6 but it doesn't work, either with the FC Eclipse or the official
Eclipse version. The Haskell
Hi
And that's why IMHO for Windows users, one needs a friendly IDE to get
started with Haskell in a modern way. And the Windows version should comply
to the Windows styleguides.
I use TextPad and WinHugs, you might find Visual Studio meets your
needs better. Both those options are properly
Michael T. Richter ttmrichter at gmail.com writes:
OK, got the builds to work. I did, in fact, have to go two layers down to
build yi-lib and install it before building yi proper. (I think this needs
to be updated in the docs or repaired, whichever is appropriate.)
Please provide (doc)
Claus Reinke claus.reinke at talk21.com writes:
This was followed by Ermacs, a concurrent
Emacs clone written completely in Erlang. Ermacs
is fairly complete – it has major modes for
Erlang and Scheme programming, a built-in Erlang
shell, and support for efficiently
Marc Weber wrote:
Personally, I really hate text-mode editors. (I won't even go into how
many times I've had to reboot Linux just to get *out* of Vi!)
One bad experience and you have never given anyone/what a chance to proof you
wrong ;)
I tried a whole heap of different text
David House wrote:
Andrew Coppin writes:
It's a text-mode editor.
With graphical support.
Really? When did that happen?
(And if it's now graphical, can you really still call it Emacs? I
mean, if you write a GUI application that does what sed does, would it
still be sed?)
quod
Bulat Ziganshin wrote:
it's well-known trap. haskell is an order of magnitude better than
widespread OOP languages. why it's not used by everyone? just due to
shortage on libs, training and - yes - IDEs. programming in Delphi
in many cases need just clicking here and there
I'll second the
Andrew Coppin writes:
The only ones I managed to actually edit files with are Nano and Pico.
But given the choice, I'd *much* rather use KWrite. (Or Kate if I really
have to.)
Despite it exhibing virtually none of your own aforementioned IDE features?
Emacs may be hard to get used to, but
peterv writes:
But people, emacs is so weird for a Windows user...
Yes, there's no denying this.
For example, ALL windows (and motif?) programs use CTRL-Z for undo. But not
emacs... So after some googling, I found and installed CUA, to get more
Windows compliant keys. CTRL-Z does
On Sun, 2007-17-06 at 22:37 +0100, David House wrote:
Well, part 1 would be being *graphical*. I really have no time for ugly
cryptic ASCII art graphical UIs... I just like being able to *see*
what's happening. Is that too much to ask?
Did you read the rest of my email? For every
I'd like to have some features, such as _T ..
But this only works if the file can be parsed by ghc, right?
yes. both '_t' and '_T' simply use ghci's :t (:s is also available via '_si').
actually, that was only in early versions. these days, GHC.vim
lists the imports, uses 'ghc -e :browse ..'
2007/6/18, Michael T. Richter [EMAIL PROTECTED]:
Got a file chooser that's actually a GUI that has the look and feel of every
other GUI file
chooser in existence?
Strange... Here I have the same file chooser as every other
application in the WM (personally I use C-x C-f most of the time
files. However, once the core editor was complete,
it was obvious that GNU Emacs has an incredibly
large set of wonderful features, and that extending
Ermacs to include “enough” of them was
completely out of the question.
The lessons learned from Ermacs lead to Distel,..
Hi All,
I'm trying to figure out how to maximum performance out of one of my
inner loops which involves string hashing.
Consider the following hash function, which is a transliteration of a
good one written in C:
--8x--8x--8x--8x--8x--8x--8x--8x--8x
module HashStr where
import Data.Bits
On Mon, Jun 18, 2007 at 11:55:05AM +1000, Thomas Conway wrote:
Hi All,
I'm trying to figure out how to maximum performance out of one of my
inner loops which involves string hashing.
Consider the following hash function, which is a transliteration of a
good one written in C:
[ Code elided
FWIW, here's a link to the original c code:
http://www.burtleburtle.net/bob/hash/evahash.html
--
Dr Thomas Conway
[EMAIL PROTECTED]
Silence is the perfectest herald of joy:
I were but little happy, if I could say how much.
___
Haskell-Cafe mailing
On Mon, 2007-18-06 at 00:55 +0200, Chaddaï Fouché wrote:
Got a file chooser that's actually a GUI that has the look and feel of
every other GUI file
chooser in existence?
Strange... Here I have the same file chooser as every other
application in the WM (personally I use C-x C-f most
On Sun, 2007-17-06 at 20:27 -0300, Alex Queiroz wrote:
Albeit buttons are mostly a waste of time because the keyboard is
so much more powerful,
For a very small percentage of users, yes. For the vast majority, not
even close.
nice and beautiful fonts are really a must.
Fortunately
Not directed at Michael Richter specifically:
I don't normally say this stuff, but this discussion has drifted onto
topics that have nothing to do with Haskell. I personally would like
the parts unrelated to Haskell to be carried on off the list.
On Mon, 2007-06-18 at 12:26 +0800, Michael T.
On Monday 18 June 2007 05:39:21 Derek Elkins wrote:
Not directed at Michael Richter specifically:
I don't normally say this stuff, but this discussion has drifted onto
topics that have nothing to do with Haskell. I personally would like
the parts unrelated to Haskell to be carried on off the
43 matches
Mail list logo