[ ghc-Bugs-811427 ] ghci messes up xterm's tty settings

2003-09-24 Thread SourceForge.net
Bugs item #811427, was opened at 2003-09-23 22:14 Message generated for change (Comment added) made by simonmar You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=811427group_id=8032 Category: None Group: None Status: Closed Resolution: Duplicate Priority: 5

[ ghc-Bugs-764685 ] GHCi breaks the terminal

2003-09-24 Thread SourceForge.net
Bugs item #764685, was opened at 2003-07-02 15:52 Message generated for change (Comment added) made by simonmar You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=764685group_id=8032 Category: None Group: None Status: Closed Resolution: Fixed Priority: 5

a few moments?

2003-09-24 Thread irene
Title: Untitled Document DON'T LOSE ANY MORE MONEY ON YOUR EXISTING HOME LOAN!hi please check out the following siteonly the banks know about this, but it will save you a fortuneare you prepared for lower mortgage repayments? Open 24 hours a day, 7 days a week.

Milyonlara ulasin..

2003-09-24 Thread Ucuz Tanitim
Title: maillist Web Sayfalarnz, rnlerinizi yada duyurularnz milyonlarca insana tantma frsat... CD1 CD2 CD3 Trk Liste Yabanci Liste Uzakdogu Liste 120 meslek grubu sehir vb (grub) ulke ve sehir (meslek gruplu) ticaret ve ithlat,ihracatcilar 8 milyon E-Mail+ Gerekli Programlar 450

BUSINESS PARTNER

2003-09-24 Thread akenmalakin
Dear Sir, I am Aken Malakin Udah, Director of logistics for the government of Liberia under former President Charles Taylor,I was in charge of the proceeds from the diamond mines scattered around the countryside, but since the current president has accepted to go into exile I decided to leave

From enumerators to cursors: turning the left fold inside out

2003-09-24 Thread oleg
There are two basic approaches of accessing a collection, be it a file, a database, or a generating function. One approach relies on enumerators (aka folds); the other is based on lazy lists (aka cursors, streams). Given a stream, we can always construct the corresponding enumerator. It's perhaps

Re: pretty newby

2003-09-24 Thread Luc Taesch
Thanks. i understand that a2ps is rather for printing. What I had in mind what to pp my own programs, to clean the source layout, rather. The process i used in other context is to hack , without really taking care of the layout ( say getting distracted by) , and once i got a resonalble level of

Haskell front ends, was pretty newby

2003-09-24 Thread Bernard James POPE
Hi all, I'm not sure I'll answer the question properly, but I think it raises an interesting issue, regarding the state of Haskell front ends. What I had in mind what to pp my own programs, to clean the source layout, rather. so the two gain i was expecting were : - cleaning the layout,

Re: From enumerators to cursors: turning the left fold inside out

2003-09-24 Thread Hal Daume III
Hi Oleg, Just thought I'd mention that this is, in fact, my preferred method of iterating over a file. It alleviates the pain associated with lazy file IO, and simultaneously provides a useful abstraction. I actually have 3*2 functions that I use which look like: type Iteratee iter seed =

Re: pretty newby

2003-09-24 Thread John Hughes
On Wed, 24 Sep 2003, Luc Taesch wrote: alos, Im surprised that this bland issue has not already been solved (PP lib paper looks dated 96). no offence intended, but aas im newbie, i wonder what am i missing ? what is different in the process of creation so that this need did not arised

Re: pretty newby

2003-09-24 Thread Frank Atanassow
On woensdag, sep 24, 2003, at 17:46 Europe/Amsterdam, John Hughes wrote: What's needed is a parser that can parse comments, and tie them to the *right place* in the abstract syntax tree. Figuring out what a comment is really commenting is probably extremely hard... The commenting conventions of

Beautifying Haskell programs (was: Re: pretty newby )

2003-09-24 Thread Keith Wansbrough
John Huges wrote: On Wed, 24 Sep 2003, Luc Taesch wrote: alos, Im surprised that this bland issue has not already been solved (PP lib paper looks dated 96). no offence intended, but aas im newbie, i [..] As the author of the 96 paper (wasn't it 95?), let me defend it a bit, or at least

Re: pretty newby

2003-09-24 Thread Malcolm Wallace
John Hughes [EMAIL PROTECTED] writes: The problem is that parsers in compilers don't keep track of comments. Instead they discard them at the first opportunity (during lexing). ... What's needed is a parser that can parse comments, and tie them to the *right place* in

Re: Beautifying Haskell programs

2003-09-24 Thread Iavor Diatchki
hello, i also like pretty for simple pretty priniting tasks, but i think it is a bit low level. for example, the cominators could be parameterised by a monad, so that one can have different printing styles, and also deal nicely with precedences. one can build that functionality on top of the

Re: Beautifying Haskell programs (was: Re: pretty newby )

2003-09-24 Thread Wolfgang Jeltsch
Am Mittwoch, 24. September 2003, 18:01 schrieb Keith Wansbrough: [...] And your other point, Luc, about generating type signatures automatically, shows up something about your approach to debugging code. You should always put the type signatures in as you go - preferably, before you write

learning to love laziness

2003-09-24 Thread Norman Ramsey
Consider the following Haskell function: asPair x = (fst x, snd x) This function has type forall a b. (a, b) - (a, b) and is almost equivalent to the identity function, except it can be used to make programs terminate that might otherwise fall into a black hole. My students are extremely

Library Infrastructure Proposal Home Page

2003-09-24 Thread Isaac Jones
Followups to [EMAIL PROTECTED] please. Greetings, After many rounds of email and discussion, some wiki work, and discussion at the HIM, I've finally put together a proposal for the Library Infrastructure Project. I've inserted the introduction below. The draft proposal itself is available in a

Re: learning to love laziness

2003-09-24 Thread Richard Nathan Linger
On Wed, 24 Sep 2003, Norman Ramsey wrote: Consider the following Haskell function: asPair x = (fst x, snd x) This function has type forall a b. (a, b) - (a, b) and is almost equivalent to the identity function, except it can be used to make programs terminate that might otherwise fall

Re: lexer puzzle

2003-09-24 Thread Thomas Hallgren
Marcin 'Qrczak' Kowalczyk wrote: A... should be split into A.. and . I found a compromise: let's make it a lexing error! :-) At least that agrees with what some Haskell compilers implement. No current Haskell compiler/interpreter agrees with what the report seems to say, that is that

Re: learning to love laziness

2003-09-24 Thread Iavor Diatchki
hello, Richard Nathan Linger wrote: On Wed, 24 Sep 2003, Norman Ramsey wrote: Consider the following Haskell function: asPair x = (fst x, snd x) This function has type forall a b. (a, b) - (a, b) and is almost equivalent to the identity function, except it can be used to make programs

RE: Database interface - would like advice on oracle library bind ing

2003-09-24 Thread Bayley, Alistair
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] I'd like to remark first that many real databases let us avoid opening many cursors at once. It seems to be more efficient to do as much as possible within the engine ... I agree (and Tom Pledger makes the same comment). It's rare that I

Re: Database interface - would like advice on oracle library bind ing

2003-09-24 Thread Keith Wansbrough
Here's another: ... Make getInt (and friends) behave differently depending on the mode of the cursor they're passed: either allocate a buffer and return _|_, decode and return the current column of the current row, or free a buffer and return _|_. Not wanting to sound

Modeling multiple inheritance

2003-09-24 Thread Brandon Michael Moore
I'm trying to build a nicer interface over the one generated by jvm-bridge. I'm using fancy type classes to remove the need to mangle method names. I would like methods to be automatcially inherited, following an inheritance hierarcy defined with another set of type classes. My basic classes look

Re: Modeling multiple inheritance

2003-09-24 Thread Brandon Michael Moore
On Thu, 25 Sep 2003 [EMAIL PROTECTED] wrote: On 25/09/2003, at 7:22 AM, Brandon Michael Moore wrote: I'm trying to build a nicer interface over the one generated by jvm-bridge. I'm using fancy type classes to remove the need to mangle method names. I would like methods to be automatcially