User loginNavigation |
Type-safe printf using delimited continuations, in CoqI had a session with Oleg at POPL this year trying to understand the shift/reset control operators and particularly the printf examples of Danvy & Filinski and Asai & Kameyama. Late night thinkings ensued and now I can say I understand this thing a bit better. I've documented the whole development in Coq and Oleg reviewed it now so it should be mostly free of errors. I hope others could be enlightened by this development, it also shows some nice features of programming in dependently-typed languages like Coq, notably having proofs of the actual laws of your structures or writing functions at the type level. Enjoy this fine bit of type theory ! By Matthieu Sozeau at 2008-01-23 15:05 | LtU Forum | previous forum topic | next forum topic | other blogs | 7503 reads
|
Browse archivesActive forum topics |
Recent comments
2 hours 59 min ago
10 hours 52 min ago
11 hours 17 min ago
17 hours 1 min ago
21 hours 55 min ago
1 day 12 hours ago
1 day 17 hours ago
1 day 18 hours ago
1 day 20 hours ago
1 day 21 hours ago