Hi George
I should give credit to Andrew - he wrote a lot of that particular guide.
One other thing you might find helpful; looking at the gist you sent
through you had
;; I've changed this euclid to produce 1's and 0's rather than 1's and _'s
;; Without that change I couldn't figure a way to make use of the pattern.
;; Maybe someone can enlighten me about how to do that.
;; Here's Bens (euclid k n) altered as described. Compile it now:
It's not well documented, but you can provide a couple of extra optional
arguments to `euclid` to determine the "x" and "o" values. To achieve
the behaviour you're after, you could use
(sys:load "libs/core/pattern-language.xtm")
(println (euclid 3 8 1 0))
Hope that's helpful.
Cheers,
Ben