Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. Re: Need some understanding on this behavior. (Daniel Trstenjak)
----------------------------------------------------------------------
Message: 1
Date: Wed, 5 Feb 2020 15:35:33 +0100
From: Daniel Trstenjak <[email protected]>
To: [email protected]
Subject: Re: [Haskell-beginners] Need some understanding on this
behavior.
Message-ID: <20200205143533.GA7274@octa>
Content-Type: text/plain; charset=us-ascii
Hi Alexander,
> And how can you create a lazy list like this [1..] without there being
> any implicit order in it?
to be able to know that the list [1..] is sorted, you would have to
encode this information into the list type and very user of the
list - like the list comprehension - would have to check this information.
At the end sorting just isn't a property of the list type.
Greetings,
Daniel
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 140, Issue 3
*****************************************