On Tue, Jul 12, 2011 at 11:54:46PM +0100, Chris Dornan wrote: > I think we are stuck with the current behaviour (which I find entirely > natural). If we can anticipate infinite lists then can we not solve > HP<http://plato.stanford.edu/entries/turing-machine/#5.2> > ?
I believe many LISP REPLs allow the user to configure limits on printing of lists, especially to avoid printing circular lists. Just having a (user controllable) limit in GHCi on the number of items of a list that is printed might be enough. /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: mag...@therning.org jabber: mag...@therning.org twitter: magthe http://therning.org/magnus Perl is another example of filling a tiny, short-term need, and then being a real problem in the longer term. -- Alan Kay
pgpjKMnO4u70I.pgp
Description: PGP signature
_______________________________________________ Haskell-platform mailing list Haskell-platform@projects.haskell.org http://projects.haskell.org/cgi-bin/mailman/listinfo/haskell-platform