User loginNavigation |
archivesOtt--a tool for writing definitions of programming languages and calculi.Ott—a tool for writing definitions of programming languages and calculi.
Peter Sewell and his team continue to bridge the gap between the informal and formal worlds of programming language semantics. By Paul Snively at 2007-01-23 07:06 | DSL | Meta-Programming | Semantics | Type Theory | login or register to post comments | other blogs | 12337 reads
Total Functional Programming
Here's an interesting paper recently mention in another thread: Total Functional Programming...
Abstract: The driving idea of functional programming is to make programming more closely related to mathematics. A program in a functional language such as Haskell or Miranda consists of equations which are both computation rules and a basis for simple algebraic reasoning about the functions and data structures they define. The existing model of functional programming, although elegant and powerful, is compromised to a greater extent than is commonly recognized by the presence of partial functions. We consider a simple discipline of total functional programming designed to exclude the possibility of non-termination. Among other things this requires a type distinction between data, which is finite, and codata, which is potentially infinite.I presume that the bogus definiton of " fib " is a subtle reminder of the importance of eliminating bottom. |
Browse archivesActive forum topics |
Recent comments
22 weeks 11 hours ago
22 weeks 15 hours ago
22 weeks 15 hours ago
44 weeks 1 day ago
48 weeks 3 days ago
50 weeks 22 hours ago
50 weeks 23 hours ago
1 year 4 days ago
1 year 5 weeks ago
1 year 5 weeks ago