Subject: IO in HApps handler ?
I am trying to add a handler that would run an external command in
HApps 0.8.8, and I got a type issue I do not know how to get around..

can we have IO in a handler ?

http://www.haskell.org/haskellwiki/HAppS_tutorial#Application

  "The MACID monad lets you update your state and *schedule*
   side-effects.  To be clear, MACID is not in the IO monad
   so you cannot execute side effects, you can only schedule
   them. The framework takes care of making sure they are
   executed at-least-once (if they can be completed by a
   deadline you specify)."

I don't know the specifics.

Tim Newsham
http://www.thenewsh.com/~newsham/
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to