User loginNavigation 
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 nontermination. 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. By Greg Buchholz at 20070123 16:35  LtU Forum  previous forum topic  next forum topic  other blogs  82165 reads

Browse archivesActive forum topicsNew forum topics 
Recent comments
6 hours 1 min ago
22 hours 51 min ago
1 day 19 min ago
1 day 6 hours ago
1 day 9 hours ago
1 day 17 hours ago
1 day 18 hours ago
1 day 20 hours ago
1 day 22 hours ago
1 day 23 hours ago