Notes from a Medium-Sized Island [entries|archive|friends|userinfo]

[ website | My Website ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

[Oct. 23rd, 2006|07:32 pm]
[Tags|, ]

I found this half by accident looking for something to show arh006; it's got a pretty nice long bass solo over "Have you met Miss Jones":

Today I think I finally fixed my stupid logic programming HW 5, and did some silly but fun phantom types stuff with tom7. The takeaway idea is that you can get your index language to support first-order rewriting, if you don't mind putting in all the coercions yourself. The indexed type is exposed as a phantom type like type 'a foo = bar as usual, (where bar is the actual representation) and the things you use as indices are themselves elements of a type type 'a exp = unit, which has constructors exposed through a signature that express the allowable rewrites.

What we hacked up was a, ahem, proof of concept that you can, ahem, "do" higher-order rewriting too, by hacking up the first-order rewriting theory of S and K. It got sick very fast.

From: lambdacalculus
2006-10-24 01:31 pm (UTC)


That's what S and K stand for.
(Reply) (Thread)
[User Picture]From: jcreed
2006-10-25 05:06 am (UTC)

Re: sick

S I Combinators, also K
(Reply) (Parent) (Thread)