I have a one-liner that Hoot evaluator from the web page doesn't interpret
properly. I tested it works in Guile 3.0.9, ie gives 5 for the second
example.

-- 
Juhani

(define (foo a b) ((if (< a b) + -) a b))

(hoot user)> (foo 5 10)
=> 15
(hoot user)> (foo 10 5)

Scheme error:
  1. #<&undefined-variable module: #<module (hoot numbers)> name: %generic>
  2. #<&source file: "hoot/errors.scm" line: 95 column: 22>

Reply via email to