[m-dev.] Introduce !! rather than ^elem() for indexing
Thomas Conway
conway at cs.mu.OZ.AU
Fri Oct 12 14:18:35 AEST 2001
On Fri, Oct 12, 2001 at 02:11:30PM EST, Michael Day wrote:
> That's very clever, and will reduce my typing considerably :) Passing a
> list of lists of string now becomes [[string]] rather than
> list(list(string)), which is pleasantly concise. And rather like Haskell,
> I believe?
Yes.
FWIW, I also frequently also use
:- type (A -> B) == map(A, B).
Thomas
--
Thomas Conway )O+
<conway at cs.mu.oz.au> 499 User error! Replace user, and press any key.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list