glycerine / zygomys

Zygo is a Lisp interpreter written in 100% Go. Central use case: dynamically compose Go struct trees in a zygo script, then invoke compiled Go functions on those trees. Makes Go reflection easy.
https://github.com/glycerine/zygomys/wiki
BSD 2-Clause "Simplified" License
1.71k stars 81 forks source link

HashSet example in docs fails #18

Closed zippy closed 7 years ago

zippy commented 7 years ago

In the GO API docs, the example doesn't work, for example to do the hash set you have to do something more like:

        var result SexpHash
        err := result.HashSet(&SexpStr{S: "result"}, &SexpStr{S: "not ok"})
glycerine commented 7 years ago

Thanks for mentioning it. I adjusted the wiki docs.