Reorganoze examples in test/

This commit is contained in:
Joscha 2018-02-16 13:07:13 +00:00
parent 3733b2217c
commit 09944406ef
3 changed files with 1 additions and 1 deletions

View file

@ -1,11 +0,0 @@
import qualified EuphApi.Connection as E
main = do
con <- E.startEuphConnection "euphoria.io" "test"
printEvents con
where
printEvents con = do
event <- E.getEvent con
case event of
E.EuphEvent e -> print e >> putStrLn "" >> printEvents con
_ -> putStrLn "[] end of events"