[Copied to Kevin Hammond so he can fix genericTake]
Thanks for the bug reports,
Echoing of keyboard input will be fixed in the next release.
Strictly speaking the genericTake bug isn't a bug - we're just following
the Library report to the letter :-)
However, the library report seems to have a bug which would be fixed by
adding this line (based on a similar line in the Haskell 1.2 prelude):
genericTake 0 _ = []
The next release will have this (non-standard :-) line added.
Thanks too for the little comments:
1) Yes, do please send the url corrections.
2) I'll do what I can with the long filenames.
I love DOS. I really do, it turns even simple tasks into challenges.
Never a dull moment with our friend Bill's gift to humanity.
3) See (2).
Glad to hear you're having fun with Hugs.
Alastair
> Hi, I've encoutered two bugs in Hugs.
> I've also encountered some little things that I thought I'd tell you about.
> And there's an aside, otherwise this mail would be so negative.
>
> ---- Bugs
>
> The first bug is new in Version 970719, it wasn't in the hugs version I
> used before. The function interact is not interactive anymore. Try
> (interact id), and you'll see that I/O is happens per line: it's buffered.
>
> The second bug was in the older version too. It's in genericTake in the
> List library: genericTake 0 _ is undefined. And because genericTake is
> recursive, no useful call of genericTake will work. Try (genericTake 10
> [1..100]).
>
> I don't think it matters, but just incase: I'm using Linux (Red Hat
> release 4.2, kernel 2.0.30) on an Intel Pentium with 32 Mb of RAM. I've
> installed hugs as described in the docs, and configured it with --with-x,
> --plugins and --readline. It passes make check when I don't use
> --readline. But the problems also occur in the W95 version.
>
> ---- Little things - these are suggestions more than anything else
>
> Little thing number one: I don't know whether HTML URL's are supposed to
> be case sensitive or not, but my browser (arena) sometimes can't follow
> the links in the HTML docs because it is case sensitive... I've changed
> the links in the docs - do you want them?
>
> Little thing number two: Long filenames in hugs16.zip? I gave it to a
> friend, he didn't like this at all. Can you distribute the DOS / W3.x
> version with 8.3 format filenames in it?
>
> Little thing number three: winhugs won't run on my W95 system because it
> can't find ctl3d32.dll. That's right: I don't have it. Instead, I have
> ctl32v2.dll. It's a brand new computer with W95 freshly installed, so
> chances are that ctl3d32.dll is not distributed anymore...
>
> ---- Aside
>
> Now that I'm mailing, I do want to thank you for Hugs, I love it! I've
> been using it from the beginning, and I've used Gofer before it. I've
> found it to be an enjoyable and reliable environment for my programming
> experiments. One of these days I should figure out how to compile Haskell
> programs, so that I won't have to rewrite my Haskell programs in C++ for
> runtime performance, and then I can use Haskell for whatever I want.
>
> In Hugs, I've written things like a program to help me learn french and an
> ANN experimentation environment. I'm still working on an environment to
> play with GA's (especially speeding them up using Cluster Analysis), a
> program to play the oriental game of Go, and an Audio Compiler (Sound
> generation) - I might combine that one with Haskore.
>
> ---- End
>
> PS. I can't read the mailing lists, because our computer center forbids us
> to subscribe to mailing lists.
>
> Yours, Erik van der Meer.
>