News for hackers. Stuff that matters.
Re:G()('al') by zeeboo on Saturday July 26, 2014 @11:27PM (#8091867)
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

Re:G()('al') by eatnumber1 on Saturday July 26, 2014 @11:31PM (#8091878)
This is awesome! Can you add a main method with an example of it working and submit a pull request?
Re:G()('al') by personZ on Saturday July 26, 2014 @11:32PM (#8091880)
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.
Re:G()('al') by eatnumber1 on Saturday July 26, 2014 @11:45PM (#8091896)
Definitely submit a pull-request if you figure out how to do it :)