User loginNavigation |
archivesOpenGLHi, I have a problem with OpenGL in LispWorks. It's functional, cause the icosahedron example is functional. But I don't know, how I can draw... I explain it: I'd like to programming in OpenGL by Lisp. I make CAPI INTERFACE and OpenGL pane in. When I evaluate (capi:display (make-instance 'my-interface)) the window shows up. I make triangle: Termination Checking with TypesTermination Checking with Types, Andreas Abel. 2004.
Recently on LtU, there has been a good deal of discussion about total functional programming, so I thought I'd link to an article that shows how to use typing to enforce termination. The main advantage of type-based approaches (as compared to analyzing the program text directly) is that the termination check is not as sensitive to the precise shape of the program; for example, you can beta-reduce a term and not alter whether the system thinks the program will terminate or not. This paper is also nice because it provides a relatively simple example of bidirectional type checking, which is an important idea both practically (it reduces spurious type annotations and helps produce better error messages) and theoretically (it is intimately related to cut elimination). |
Browse archivesActive forum topics |
Recent comments
22 weeks 14 hours ago
22 weeks 18 hours ago
22 weeks 18 hours ago
44 weeks 1 day ago
48 weeks 3 days ago
50 weeks 1 day ago
50 weeks 1 day ago
1 year 4 days ago
1 year 5 weeks ago
1 year 5 weeks ago