Stefan O'Rear wrote:
On Fri, Apr 27, 2007 at 05:27:37AM -0700, iliali16 wrote:
Can someone advise me how can I build an AVL tree becouse I have difficulties
with the rotations. Since if I add a node I want to be abel to check whether
the tree is balanced or not if balanced ok but if not I need t
On Fri, Apr 27, 2007 at 08:05:53PM +, Georg Sauthoff wrote:
> On 2007-04-22, Marc Weber <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> > I've written some completion scripts for vim. Don't know wether you can
> > call it an ide. Also tagging source is supported by one command.
>
> what tagging progr
On 26/04/2007, at 12:12 am, Bulat Ziganshin wrote:
Simon Marlow recently wrote paper about handling dynamic exceptions -
for me it seems that he described general system to mimic OOP in
Haskell
I found the paper (titled 'An Extensible Dynamically-Typed Hierarchy
of Exceptions'). The syste
On 2007-04-22, Marc Weber <[EMAIL PROTECTED]> wrote:
Hi,
> I've written some completion scripts for vim. Don't know wether you can
> call it an ide. Also tagging source is supported by one command.
what tagging program do you use?
> With a little effort you can configure vim to create a new cab
On 4/27/07, Fernando Cassia <[EMAIL PROTECTED]> wrote:
I admit in shame never having heard about Haskell before. I know about PHP,
Python, IBM' s REXX, TCL, TCL/TK, perl... but Haskell, never.
So, here's how I landed in Haskell-land: I was looking for a simple
ncurses-based text mode mp3 player
Jim Burton wrote:
After posting I realised the difference between parsing "(a)" <|> "(b)" and
parsing "a" <|> "aa" ... so Parsec doesn't do the latter well or at all?
It should do (try "aa") <|> "a" just fine. If you mean a general
sequence of "a"s then (many1 (char "a")) should do.
The Mors
Jim Burton <[EMAIL PROTECTED]> wrote:
> After posting I realised the difference between parsing "(a)" <|>
> "(b)" and parsing "a" <|> "aa" ... so Parsec doesn't do the latter
> well or at all?
Exactly. Parsec is designed to avoid backtracking altogether, and to
give only one answer, so it is the
On Sun, 22 Apr 2007, Andreas Voellmy wrote:
> Does anyone know of a haskell library to read (and write) tiff files? Or has
> someone written a binding to libtiff?
I added old stuff by Jan Skibinski to
http://www.haskell.org/haskellwiki/Libraries_and_tools/Graphics#Graphics_file_formats
which
Yes. All of BlueSpec, myself, Rob Dockins (right?), and undoubtedly
others. I know a few classes at MIT (none of them required) use
Haskell.
I expect it'd be easy to get room space at MIT if there were interest
in a Boston-area group. For a less formal group one could meet
somewhere li
Alternately, the "standard" way to use profiling with template haskell
is a 2-stage process:
- First, compile all of the modules normally, *without* -prof
- Then, compile all of the module again, with the following flags:
-prof -osuf p_o
These steps, and the reason this workaround is necessary, a
Donald Bruce Stewart wrote:
>
> P.S. Some obvious user group candidates, in my opinion, would be a
> Portland group, a Bay Area group and something at Chalmers... ;-)
Are there any other Haskellers in the Boston area?
___
Haskell-Cafe mailing list
Has
As a workaround, you could try to use zeroTH to preprocess the template
haskell. (I have a patched version of zeroTH that works better but it
currently requires a patched version of GHC - ask me if you want it.)
ZeroTH darcs repo: http://darcs.haskell.org/~lemmih/zerothHead/
Original announcement
> I think it's unfair to blame GHC for not having readline; the website does
> indeed tell you about readline:
>
> http://www.haskell.org/ghc/download_ghc_661.html
>
> Check out the paragraph under "Linux (x86)".
shouldn't library dependency checking be done in the ./configure
script?
__
Jim Burton wrote:
>
>
>
> Dougal Stanton wrote:
>>
>> This may be relevant or not, but I thought morse required a delimiting
>> character between letters, because otherwise the message was
>> ambiguous? I seem to recall somewhere that Parsec didn't handle
>> non-deterministic parsings very w
Dougal Stanton wrote:
>
> This may be relevant or not, but I thought morse required a delimiting
> character between letters, because otherwise the message was
> ambiguous? I seem to recall somewhere that Parsec didn't handle
> non-deterministic parsings very well (or at all).
>
> D.
> ___
On 27/04/07, Jim Burton <[EMAIL PROTECTED]> wrote:
I have a couple of questions about my first use of Parsec, which is trying
to read morse code symbols from a string. I have a map of symbols:
import qualified Data.Map as M
morsemap = M.fromList [('A', ".-")
...
I have a couple of questions about my first use of Parsec, which is trying
to read morse code symbols from a string. I have a map of symbols:
import qualified Data.Map as M
morsemap = M.fromList [('A', ".-")
...
, ('Z', "--..")]
a string to parse,
On Fri, Apr 27, 2007 at 05:27:37AM -0700, iliali16 wrote:
> Can someone advise me how can I build an AVL tree becouse I have difficulties
> with the rotations. Since if I add a node I want to be abel to check whether
> the tree is balanced or not if balanced ok but if not I need to do one of
> the
I got a very different output:
$ c:/MinGW/bin/gcc --verbose t.c
Reading specs from c:/MinGW/lib/gcc/mingw32/3.4.2/specs
Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as --host=
mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls --enable
-languages=c,c+
Hi, folks
Trying to profile the modules, those contain a template-haskell splices, I
have ran into problem - GHC6.4 (win2K) returns an error message and then
stops. Without the "-prof" option all works fine.
Is there a way to bypass this inconsistency?
Example below illustrates the problem:
==
On Fri, 27 Apr 2007 07:00:26 -0300
"Fernando Cassia" <[EMAIL PROTECTED]> wrote:
> But just think about it... is it easier to DOCUMENT the problem or
> just include a workaround in the make install code?
It's easier to document the problem.
> IF {library not available} then
> echo "you need to ge
Can someone advise me how can I build an AVL tree becouse I have difficulties
with the rotations. Since if I add a node I want to be abel to check whether
the tree is balanced or not if balanced ok but if not I need to do one of
the 4 rotations which is a problem for me and I want to be able to gi
Hallo,
On 4/27/07, Fernando Cassia <[EMAIL PROTECTED]> wrote:
Goodbye Haskell, I just wanted to compile a MP3 player, and perhaps if the
compiler installed OK with no issues, I'd have taken a look at the language.
But as of right now, I don't have time to waste with broken compiler
installers.
At Cygin command shell, ld --version gives the following output:
GNU ld version 2.17.50 20060817
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
In fa
Hi Simon,
here is my path:
c:/MinGW/bin;C:/MinGW/libexec/gcc/mingw32/3.4.2;C:\ghc\ghc-6.2.2\bin;C:\cygwin\usr\local\bin;c:\cygwin\usr\bin;C:\cygwin\bin;%PATH%
Monique
On 4/26/07, Simon Marlow <[EMAIL PROTECTED]> wrote:
Claus Reinke wrote:
>> gcc version 3.4.2 (mingw-special)
>> configure:3288
If I'm doing development between ghci and vim, all the different
dependencies I need get linked in when required without me asking.
Similarly if I call "ghc --make" from the command line. But I have to
write them in manually to my *.cabal file otherwise the compilation
process will fail.
Until no
Of course I meant friendliness. Consider English is not my native language.
;)
FC
On 4/27/07, Fernando Cassia <[EMAIL PROTECTED]> wrote:
situations like this where developers spend more time documenting the
problem rather than fixing it with some user-friendlyness in the install
script.
Again
On Fri, 27 Apr 2007 06:28:48 -0300
"Fernando Cassia" <[EMAIL PROTECTED]> wrote:
> I admit in shame never having heard about Haskell before. I know
> about PHP, Python, IBM' s REXX, TCL, TCL/TK, perl... but Haskell,
> never.
>
> So, here's how I landed in Haskell-land: I was looking for a simple
>
On 4/27/07, C.M.Brown <[EMAIL PROTECTED]> wrote:
Wow! Such a bitter response! All you need to do is install readline, found
here:
http://tiswww.case.edu/php/chet/readline/rltop.html
I think it's unfair to blame GHC for not having readline; the website does
indeed tell you about readline:
On Fri, 2007-04-27 at 06:28 -0300, Fernando Cassia wrote:
> So I follow the directions
Which directions are those? If they somehow tell users of Fedora to
download tarballs, they should be rectified to instruct users to 'yum
install ghc' instead.
> So, I conclude that Haskell is not ready for
Dougal Stanton wrote,
> I'd guess there should be a way to get the libreadline4 installed
> from your package manager. Something like "sudo yum install
> libreadline4" maybe? I don't use FC myself, so can't help further.
It's even easier than that ... on Fedora Core 6 all he had to do was,
yum
Hi Fernando,
> [EMAIL PROTECTED] ghc-6.6.1]# ghc
> /usr/local/lib/ghc-6.6.1/ghc-6.6.1: error while loading shared libraries:
> libreadline.so.4: cannot open shared object file: No such file or directory
> #
>
> So, I conclude that Haskell is not ready for prime time, if it cannot
> install itself
http://www.google.com/search?hl=en&q=fedora+haskell+libreadline.so.4&btnG=Search&meta=
gives:
http://www.nabble.com/-Haskell--Re:-kernel-2.6.11-and-readline.so-t577156.html
as the first result, which appears to give a solution
and, in fact, if I look at:
http://haskell.org/ghc/download_ghc_
On 27/04/07, Fernando Cassia <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED] ghc-6.6.1]# ghc
/usr/local/lib/ghc-6.6.1/ghc-6.6.1: error while loading shared libraries:
libreadline.so.4: cannot open shared object file: No such file or directory
#
So, I conclude that Haskell is not ready for prim
I admit in shame never having heard about Haskell before. I know about PHP,
Python, IBM' s REXX, TCL, TCL/TK, perl... but Haskell, never.
So, here's how I landed in Haskell-land: I was looking for a simple
ncurses-based text mode mp3 player with some sort of basic GUI and found
"HMP3" written in,
Claus Reinke wrote:
and even the mingw ld apparently sets its search_dirs without drive
letters:
that shouldn't be the problem, though, as the failing part of
./configure was
an indirect call via gcc, which seems to set the library prefixes
correctly,
On Vista gcc doesn't set the library pr
On 4/26/07, Joe Thornber <[EMAIL PROTECTED]> wrote:
but it's simpler to just write something like:
test = putStr $ unlines ["I",
"need",
"multiline",
"string",
37 matches
Mail list logo