mirror of
https://github.com/bsima/haskell-urbit-api.git
synced 2024-09-11 18:27:08 +03:00
17 lines
290 B
Haskell
17 lines
290 B
Haskell
{-# LANGUAGE OverloadedStrings #-}
|
|
|
|
module Main where
|
|
|
|
import Urbit.Airlock
|
|
|
|
main = do
|
|
let ship = Ship {
|
|
session = Nothing,
|
|
lastEventId = 0,
|
|
url = "http://localhost:8081",
|
|
code = "lidlut-tabwed-pillex-ridrup",
|
|
sseClient = False
|
|
}
|
|
connect ship
|
|
putStrLn "success"
|