| > often...). The problem around this is in my opinion to make a
| > Haskell98
| > compliant trimmed down readline library which doesn't depend on the
c
| > library. It shouldn't be too difficult. I don't expect that people
are
| > using the full power of readline anyway.
|
| Making a working rea
Dear all,
I am looking for some advice on
where to place specialize-pragmas for ghc
(to optimize speed - and heap usage)
Typically I have some module A (containing polymorphic functions A.f, ..)
and a module B uses this. The interesting case is
when I want to specialize A.f (which is NOT export
2003年06月18日(水)の21時25分に Simon Marlow 曰く:
> > Is this a correct way to detect versions needed for the GHC
> > installation?
> >
> > more /etc/redhat-release
> > -->
> > Red Hat Linux release 7.3 (Valhalla)
> >
> > ls /lib/libc*
> > -->
> > /lib/libc-2.2.5.so
> > ...
>
> The bina
> | > often...). The problem around this is in my opinion to make a
> | > Haskell98
> | > compliant trimmed down readline library which doesn't
> depend on the c
> | > library. It shouldn't be too difficult. I don't expect
> that people are
> | > using the full power of readline anyway.
> |
>
| > I noticed that isEmptyChan blocks if the channel is already
| > waited on by readChan, is this the intended behaviour?
| > At least I was a bit surprised by a blocking predicate..
|
| I agree this doesn't seem right. Looking at the implementation
though,
| I can't see an easy way to fix it -
"Simon Marlow" <[EMAIL PROTECTED]> writes:
> > | Making a working readline isn't that simple - you need to know something
> > | about the terminal properties for one, which means being able to use
> > | termcap or terminfo.
I expect that one can avoid termcap/terminfo by sticking to ANSI
terminal
On Thursday 19 June 2003 11:06 am, Malcolm Wallace wrote:
> As I see it, the main problem is reproducing all the keybindings.
> I'm certain that every user of readline has their own habitual set
> of emacs keystrokes that differs slightly from everyone elses, so
> inevitably the full complement wil
On Wed, Jun 18, 2003 at 06:09:14PM +0200, Josef Svenningsson wrote:
> The only thing that I don't like is that the dist isn't compiled with
> readline. It makes working in ghci a nightmare (I need to use backspace
> often...).
A nice workaround for programs not supporting readline is to use a
line
| I am looking for some advice on
| where to place specialize-pragmas for ghc
| (to optimize speed - and heap usage)
|
| Typically I have some module A (containing polymorphic functions A.f,
..)
| and a module B uses this. The interesting case is
| when I want to specialize A.f (which is NOT expor
Alastair Reid <[EMAIL PROTECTED]> writes:
> It would be nice to have those bindings but just having backspace and
> left-right cursors work would already be a huge improvement over nothing.
OK, here is my contribution. The attached module SimpleLineEditor
is API-compatible with readline, and is
'editline' is a (BSD style) free readline clone. it works quite well. of
course a haskell clone might be more convienient. a google search will turn
up various references to it.
John
On Thu, Jun 19, 2003 at 11:46:43AM +0100, Alastair Reid wrote:
> On Thursday 19 June 2003 11:06 am, Malcolm
11 matches
Mail list logo