🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.functional
1 messages
1 total messages Started by David Gudeman Sat, 17 Nov 1990 17:56
Re: A question about types in ML
#511
Author: David Gudeman
Date: Sat, 17 Nov 1990 17:56
20 lines
1435 bytes
In article  <2235@opal.cs.tu-berlin.de> Wolfgang Grieskamp writes:
]
]If a functions semantic maps D->D, then the rare case 
]is that it maps also D/bottom->D/bottom. In fact i have problems 
]to imagine meaningful functions except identity which behave like this. 

I'm not sure I understand this.  It sounds like you are talking about
functions that are strict in bottom (that is, if they are given bottom
as an argument, they produce bottom as a result).  If so, then there
are hoards of natural functions that meet this criteria.  Most
arithmetic functions for example.  In fact, this case is so common
that some languages have only _one_ builtin function that is not
strict (if-then-else).  And many languages do not allow the programmer
to define new non-strict functions, since they evaluate the arguments
before they call the function.
-- 
					David Gudeman
Department of Computer Science
The University of Arizona        gudeman@cs.arizona.edu
Tucson, AZ 85721                 noao!arizona!gudeman
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads