Jason (jcreed) wrote,

I have been skimming Bruce McAdam's PhD dissertation this morning, which is titled "Repairing Type Errors in Functional Programs". It's a pretty neat blend of pragmatics and type-theoretical wankery. I like the following passage from the introduction:

To see what sort of help programmers might appreciate, consider how spell-checkers work. These are among the most useful programs in popular use today. They can point out where you made spelling mistakes, and suggest how to correct them. A spell-checker would be neither useful nor popular if it only pointed out that you had made a mistake without suggesting how to correct it, or if it gave information which looked at the problem from the perspective of how it worked rather than from the writer’s perspective, e.g.
Spelling error at character 3.
Cannot follow "ry" with "p"

This however is the style of response produced for programmers by compilers.
Tags: types

  • (no subject)

    After getting home from work immediately appeared to be a traintastrophe in the making, went to see Esther Schor talk about her book "Bridge of…

  • (no subject)

    Went to a series of maker-y talks hosted by Pivotal. The last one, by the woman who runs Genspace, "New York City's Community Biolab" was pretty…

  • (no subject)

    I had already been meaning to dig into JaneSt's "Incremental" library, which bills itself as a practical implementation (in ocaml) of the ideas in…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded