Make ``thin`` work for yeilded values

Issue#104