Implement when-some. Closes #97