[m-rev.] Additions to list.m

Nancy Mazur Nancy.Mazur at cs.kuleuven.ac.be
Fri Dec 14 01:44:48 AEDT 2001


> Index: require.m
> ===================================================================
> RCS file: /home/mercury1/repository/mercury/library/require.m,v
> retrieving revision 1.28
> diff -u -r1.28 require.m
> --- require.m	31 Aug 1999 12:55:44 -0000	1.28
> +++ require.m	13 Dec 2001 06:45:06 -0000
> @@ -24,6 +24,13 @@
>  %		This will normally cause execution to abort with an error
>  %		message.
>  
> +:- func func_error(string) = _.
> +:- mode func_error(in) = unused is erroneous.
> +
> +%	func_error(Message)
> +%		An expression that results in a `software_error(Message)'
> +%		exception being thrown.

Hi Ralph,

just out of curiosity.... why is a func version of error
needed? It seems odd to me... or is there something I'm missing somewhere?

just wondering, 
Nancy

--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list