タグ

2007年7月27日のブックマーク (1件)

  • amb

    Amb is the 'ambiguous' [SICP "Amb and Search"] special form for non-deterministic computation. (AMB expression ...) may evaluate & return the value of any expression operand. As code continues, the set of values that it may have returned is typically narrowed with a (REQUIRE condition) procedure that ensures that condition holds true, backtracking if condition is false. For example, (let ((a (amb

    hecatoncale
    hecatoncale 2007/07/27
    非決定性。実はCSSのhoverの使い方に感動した。