I've done the first one - it is obviously Bool. Good luck!
Diagram | Type |
Bool | |
Solution | |
Solution | |
Solution | |
Solution | |
Solution | |
Solution | |
Solution | |
Solution | |
Solution | |
Solution | |
Solution | |
Solution | |
This is a variant of NaturalsDown and will require cheating a little. Create a module that will export a data type, and only a "smart constructor" that will equate undefined and const undefined. Solution |
Application
A great application of denotational semantics is doing numerical integration exactly.
2 comments:
Wow -- what a fun way to get a feeling for domains that come up regularly in Haskell programming. Thanks!
And it gives me an idea: write a book on denotational semantics in the style of "The Little Lisper".
@conal I would buy that book ;)
Post a Comment