Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
zeeboo
· 12y ago · 0 comments
I made this Go one that might be cheating because instead of the ("al") call returning a string, you get a value that implements the String method. Works with fmt.Println :)
http://play.golang.org/p/zrp2sO6ZLU
Comments
[–]
eatnumber1
12y ago
This is awesome! Can you add a main method with an example of it working and submit a pull request?
[–]
personZ
12y ago
This is close to identical to what I did, but the use of a global just felt too dirty. Still trying to figure out the use of a closure on it.
[–]
eatnumber1
12y ago
Definitely submit a pull-request if you figure out how to do it :)