title: Haskell - How can I use pure functions inside IO functions?
body: <p>How can I use pure functions inside IO functions? :-/</p>
  
  <p>For example: I'm reading a file (IO function) and I want to parse its context, a string, by using a pure function with referential transparency.</p>
  
  <p>It seems such worlds, pure functions and IO functions, are separated. How can I possibly bridge them?</p>