Add an example for as->

ported from a draft of Rich Hickey (https://gist.github.com/richhickey/3885504)