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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
| 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
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
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-
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
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
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
| 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
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
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
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
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
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
30 matches
Mail list logo