다니/ㄴ다니/는다니/이라니
surprise at a statement
Explanation
다니/ㄴ다니/는다니/이라니 is an ending for reacting to a fact with surprise or emotion: to think that …!, I’m surprised that …. It can stand as an exclamation or introduce what makes you happy, impressed or disappointed.
React to an action or quality
Present actions use ㄴ다니 after a vowel and 는다니 after a consonant; a final ㄹ drops. Adjectives take 다니.
React to something that has happened
Put the past marker before 다니.
React to someone’s identity
After a noun, use 이라니 after a consonant or 라니 after a vowel.
I’m surprised you are a teacher.