> This just shows how deeply ingrained the ascii plain text mindset is
> in the programming community. I don't expect anything like this to ever
> fly, for this reason. You guys won't let it. :(
(Sorry, but how did ascii get in there? Was the argument for
Unicode or HTML?)
As for mindset, the
> Wolfgang Thaller writes (to the Haskell mailing list):
>
> > IMHO, there should only be warnings about tabs when their
> > size makes a difference to the meaning of the program,
>
> I agree and would suggest an even more stringent test to
> warn against
>
> > a = let x = 1
> > y = 2
Am Sonntag, 25. Januar 2004 23:42 schrieb Sebastian Sylvan:
> Sean L. Palmer wrote:
> > Besides, the idea would be not to use , but rather some "indent
> > paragraph" tag.
>
> This is kind-of a cool idea. If I ever take a course involving writing
> my own language I'll be sure to incorporate this
Bayley, Alistair wrote:
> {-# OPTIONS -tabsize 4 #-}
>
> I think it's still a bit of a hack, but at least the author tells you what
> their tabsize was when they wrote it, so you can recover their layout. You
> could always pre-process the source yourself with sed, if the compiler
> doesn't unde
George Russell wrote:
Graham Klyne wrote (according to Wolfgang Thaller, snipped):
> I think that compilers should issue a warning when indentation that
> determines the scope of a construct is found to contain tab characters.
In an ideal world, TAB characters would never have been put into ASCII
Wolfgang Thaller writes (to the Haskell mailing list):
IMHO, there should only be warnings about tabs when their
size makes a difference to the meaning of the program,
I agree and would suggest an even more stringent test to
warn against
a = let x = 1
y = 2 -- OK
in ...
because the (vi
Graham Klyne wrote (according to Wolfgang Thaller, snipped):
> I think that compilers should issue a warning when indentation that
> determines the scope of a construct is found to contain tab characters.
In an ideal world, TAB characters would never have been put into ASCII, and
this would be my p
-Original Message-
> From: Ronan Klyne [mailto:[EMAIL PROTECTED]
> Sent: 26 January 2004 03:53
> To: The Haskell Mailing List
> Subject: [Haskell] Re: Use of tab characters in indentation-sensitive
> code
>
>
> I support the idea that somthing should be done. I
I support the idea that somthing should be done. I would like to suggest
that the compiler references an environment variable to determine how many
spaces a tab represents. I realise that this would cause the same code to
run on some systems and fail on others, but it would allow a developer to
Sean wrote:
> Joking aside, surely you intelligent people realize that the internals
> of a file format have nothing whatsoever to do with the user interface
> of the editing tool. Something like this would be completely
> transparent *if* you used the right tools.
But then you would be forc
Sebastian wrote:
> Sean L. Palmer wrote:
>
> > Besides, the idea would be not to use , but rather
> some "indent
> > paragraph" tag.
>
> This is kind-of a cool idea. If I ever take a course involving writing
> my own language I'll be sure to incorporate this idea.
This idea of an indent parag
On Sun, 25 Jan 2004, Sean L. Palmer wrote:
> Joking aside, surely you intelligent people realize that the internals of a
> file format have nothing whatsoever to do with the user interface of the
> editing tool. Something like this would be completely transparent *if* you
> used the right tools.
Sean L. Palmer wrote:
Besides, the idea would be not to use , but rather some "indent
paragraph" tag.
This is kind-of a cool idea. If I ever take a course involving writing
my own language I'll be sure to incorporate this idea.
/S
___
Haskell mailin
Joking aside, surely you intelligent people realize that the internals of a
file format have nothing whatsoever to do with the user interface of the
editing tool. Something like this would be completely transparent *if* you
used the right tools.
This just shows how deeply ingrained the ascii plai
"Sean L. Palmer" <[EMAIL PROTECTED]> writes:
> Why has HTML been out for many many years, and yet programming languages
> still use plain ASCII text exclusively? Don't we have similar needs as
> other electronic document manipulators?
So we could write:
foo bar = case bar of
Zot x -> ...
15 matches
Mail list logo