Re: literate comments

2003-10-28 Thread Sean L. Palmer
have to look at the mess. Personally, not a big fan of LaTeX. I don't understand the bias towards it. Sean - Original Message - From: "Steffen Mazanek" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 27, 2003 1:08 PM Subject: Re: literat

Re: literate comments

2003-10-27 Thread Steffen Mazanek
Hello, I have thought again about the relationship of Haskell and XML. Finally I come up with the following idea. Why not introduce a Haskell DTD? Not to gain better literate programming facilities, but to represent _real_ Haskell code in XML. Of course, no person would like to "program" Haskell

Re: literate comments

2003-10-16 Thread Udo Stenzel
begin [EMAIL PROTECTED] quote: > Quoting Steffen Mazanek <[EMAIL PROTECTED]>: > > > Would it make sense, to add a xml like code environment > > as well, e.g., ...? > > It's hard to say. The problem is that some Haskell characters are also > important for XML (e.g. <, &) and so you can't just c

Re: literate comments

2003-10-15 Thread ajb
G'day all. Quoting Steffen Mazanek <[EMAIL PROTECTED]>: > Would it make sense, to add a xml like code environment > as well, e.g., ...? It's hard to say. The problem is that some Haskell characters are also important for XML (e.g. <, &) and so you can't just cut and paste valid Haskell inside a

literate comments

2003-10-15 Thread Steffen Mazanek
Hello, in the Haskell report the latex code environment is mentioned: http://www.haskell.org/onlinereport/literate.html Would it make sense, to add a xml like code environment as well, e.g., ...? Ciao, Steffen ___ Haskell mailing list [EMAIL PROTECTED

Re: Literate comments

1992-02-06 Thread Philip Wadler
RFC-822-HEADERS: Original-Via: == We seem to be converging here. I prefer Simon's suggestion of an appendix to Paul's suggestion of a Section 1.6, but am not too bothered either way. Will also try to work in Simon's note about file extensions. I am happy to leave the question

Re: Literate comments

1992-02-06 Thread Simon L Peyton Jones
er if you could also work in the convention that we all (I think) use of .hs suffices for Haskell files, and .lhs for literate ones? Simon | To be precise: I propose an additional chapter of the report, labeled | `Literate comments' and no more than one page long, that states a | conventi

Literate comments

1992-02-06 Thread Paul Hudak
To be precise: I propose an additional chapter of the report, labeled `Literate comments' and no more than one page long, that states a convention for providing literate comments, notes that it is NOT part of Haskell but is supported by existing implementations, and mentions

Re: Literate comments

1992-02-05 Thread Rob Turner
RFC-822-HEADERS: Original-Via: uk.ac.hull.cs.nebula; Wed, 5 Feb 92 12:37:17 GMT Newsgroups: mail.haskell Summary: Expires: Original-Sender: Followup-To: Distribution: Organization: Computer Science, University of Hull Keywords: Apparently-To: [EMAIL PROTECTED] == Surely a lo

Re: Literate comments

1992-02-05 Thread Mark . Jones
RFC-822-HEADERS: Original-Via: uk.ac.ox.prg; Wed, 5 Feb 92 12:22:19 GMT == | To be precise: I propose an additional chapter of the report, labeled | `Literate comments' and no more than one page long, that states a | convention for providing literate comments, notes that

Literate comments

1992-02-05 Thread Philip Wadler
says he would like to do. To be precise: I propose an additional chapter of the report, labeled `Literate comments' and no more than one page long, that states a convention for providing literate comments, notes that it is NOT part of Haskell but is supported by existing implementations, an

Re: "literate" comments

1992-02-05 Thread haskell-request
be useful to the greatest number of people, your comments should be in straight text. Therefore why not just use the regular comment structure of the language. 2. If your literate comments are in say a Latex format, they are probably unreadable u

Re: "literate" comments

1992-02-04 Thread haskell-request
Original-Via: uk.ac.ed.mrcvax; Tue, 4 Feb 92 18:37:31 GMT When programming in Miranda, I almost always produce a literate script, which doubles as a LaTeX document. I think it would be sad if Haskell did'nt define a literate style. Ian

Re: "literate" comments

1992-02-04 Thread haskell-request
Original-Via: uk.ac.ed.aiai; Tue, 4 Feb 92 17:26:28 GMT > I think people are asking too much of a literate style. In my > opinion it is useful when writing programs with more comments than code. > In such situations, it is important to be able to distinguish comment lines > and code lines without

Re: "literate" comments

1992-02-03 Thread haskell-request
Original-Via: uk.ac.durham; Mon, 3 Feb 92 10:37:28 GMT I think people are asking too much of a literate style. In my opinion it is useful when writing programs with more comments than code. In such situations, it is important to be able to distinguish comment lines and code lines without having t

"literate" comments

1992-02-02 Thread haskell-request
Original-Via: uk.ac.nsf; Sun, 2 Feb 92 02:07:28 GMT I, too, am puzzled about trying to fix a ``literate style'' in a particular programming language. It seems to have limited use. There appear to be many other kinds of ``documented code'' where it seems to be inappropriate: - Documents where

Re: "literate" comments

1992-02-01 Thread haskell-request
Original-Via: uk.ac.nsf; Sun, 2 Feb 92 00:18:29 GMT > A personal opinion about this 'literate' feature; > I have done my thesis programming part in Miranda, > which has the same 'literate' option ( lines beginning with > > are in the program, the other lines are comments ), and > I found it very

Re: "literate" comments

1992-01-30 Thread haskell-request
Original-Via: uk.ac.nsf; Thu, 30 Jan 92 23:14:16 GMT A personal opinion about this 'literate' feature; I have done my thesis programming part in Miranda, which has the same 'literate' option ( lines beginning with > are in the program, the other lines are comments ), and I found it very useful wh

Literate comments

1992-01-29 Thread haskell-request
| Should we rush into this? Kent's problem, although solved by Phil, | convinces me that there may be more to discuss about this subject. I | suggest leaving out literate comments until 1.3 or 2.0 or whatever the | next version will be called. -- Tony | Maybe we need a "how to be a go

Re: "literate" comments

1992-01-29 Thread haskell-request
Original-Via: uk.ac.mhs; Wed, 29 Jan 92 16:14:52 GMT X400-Received: by mta mhs-relay.ac.uk in /PRMD=UK.AC/ADMD= /C=GB/; Relayed; Wed, 29 Jan 1992 16:13:01 + X400-Received: by /PRMD=sunet/ADMD= /C=se/; Relayed; Wed, 29 Jan 1992 16:12:09 + X400-Received: by /PRM

Re: literate comments

1992-01-29 Thread haskell-request
Original-Via: uk.ac.ed.aiai; Wed, 29 Jan 92 16:02:58 GMT > > Could someone please explain to me why there needs to be support > > for literate comments in the language (rather than in the editor > > or some other program) and why conventions involving > or > > .troff-

Re: "literate" comments

1992-01-29 Thread haskell-request
Original-Via: uk.ac.st-and.cs; Wed, 29 Jan 92 12:57:04 GMT Should we rush into this? Kent's problem, although solved by Phil, convinces me that there may be more to discuss about this subject. I suggest leaving out literate comments until 1.3 or 2.0 or whatever the next version will be c

Re: "literate" comments

1992-01-29 Thread haskell-request
Kent inquires about the following program: | This is a 'literate' Haskell comment line. | > {- This is an illiterate (?? :-) Haskell comment line, but where does it end? | -- This question sounds familiar, but then no | -- """literate""" programming was involved. | -} | > Still in a

Re: literate comments

1992-01-28 Thread haskell-request
Original-Via: uk.ac.uknet; Tue, 28 Jan 92 14:04:42 GMT Jeff Dalton writes: > Could someone please explain to me why there needs to be support > for literate comments in the language (rather than in the editor > or some other program) and why conventions involving > or > .trof

Re: literate comments

1992-01-28 Thread haskell-request
| Could someone please explain to me why there needs to be support | for literate comments in the langauge (rather than in the editor | or some other program) and why conventions involving > or | .troff-like-commands are good ones? The reason for putting literate comments in the language is

Re: literate comments

1992-01-27 Thread haskell-request
Original-Via: uk.ac.ed.aiai; Mon, 27 Jan 92 17:36:47 GMT Could someone please explain to me why there needs to be support for literate comments in the langauge (rather than in the editor or some other program) and why conventions involving > or .troff-like-commands are good ones? Maybe

Re: literate comments

1992-01-27 Thread haskell-request
Original-Via: uk.ac.uknet; Mon, 27 Jan 92 09:49:41 GMT Yes - please include the literate program convention. I never write any other way. Small pedantic point: I think program lines should begin with the two characters "> " to prevent people writing lines beginning ">=", which could confuse th

Re: literate comments

1992-01-24 Thread haskell-request
I'd be happy with a literate style; but time is short, so decision needed rapidly (Paul) and then (if positive) appropriate changes made (mainly Joe). Simon

Re: literate comments

1992-01-24 Thread haskell-request
Phil writes: ... (at Glasgow, we use .has for regular and .lhs for literate). Make that ".hs" and ".lhs"; ".hs" is standard across all known implementations; HBC does ".lhs" as well. Will "We know when Phil last wrote a Haskell pgm :-)" Partain

literate comments

1992-01-24 Thread haskell-request
Joe Fasel has proposed that we add a literate comment convention to Haskell. A good reason to make this change NOW is that it would let Joe put the prelude in literate style for the SIGPLAN version of the report, which he says he is willing to do. I suggest the following: In literate st