Reorganoze examples in test/
This commit is contained in:
parent
3733b2217c
commit
09944406ef
3 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue