Feedback Translate object of one type to the other 

Forum: U Chicago, Com Sci 221, autumn 2000
Re: News Final exam Monday 4 December (Mike O'Donnell)
Re: Question ML / Datatypes Question (Set-Theoretic Notation) (Ben Johnson)
Re: Question encoding set-theoretic types to ml (Maggie Novak)
Date: 2000, Dec 04
From: Mike O'Donnell <odonnell@cs.uchicago.edu>

E.g., you can translate A->B->C to (AxB)->C as follows:


fun trans f (a,b) = f a b
 ;
When f is a function of the first type, trans f is a function of the second type. Work out the inverse translation to see that the function is one-to-one.



Mike O'D.


to: "Translate object of one type to the other"