mirror of
https://github.com/ilyakooo0/purescript-indexedDB.git
synced 2024-09-11 06:55:48 +03:00
remove Main file
This commit is contained in:
parent
9877c1ca1b
commit
8dcfdda43b
1
.gitignore
vendored
1
.gitignore
vendored
@ -76,3 +76,4 @@ generated-docs
|
||||
.purs*
|
||||
.psa*
|
||||
dist
|
||||
src/Main.purs
|
||||
|
@ -1,24 +0,0 @@
|
||||
module Main where
|
||||
|
||||
import Prelude
|
||||
|
||||
import Control.Monad.Aff as Aff
|
||||
import Control.Monad.Eff(kind Effect, Eff)
|
||||
import Control.Monad.Eff.Console as Console
|
||||
import Control.Monad.Eff.Console(CONSOLE)
|
||||
import Control.Monad.Eff.Exception(EXCEPTION, catchException)
|
||||
import Data.Maybe(Maybe(..))
|
||||
import Data.Either(Either(..))
|
||||
|
||||
import Core
|
||||
import IDBDatabase as IDBDatabase
|
||||
|
||||
|
||||
main :: Eff (exception :: EXCEPTION, idb :: INDEXED_DB, console :: CONSOLE) Unit
|
||||
main = do
|
||||
_ <- Aff.runAff (show >>> Console.log) (IDBDatabase.name >>> Console.log) $ IDBDatabase.open "myDatabase" Nothing
|
||||
{ onBlocked : Nothing
|
||||
, onUpgradeNeeded : Nothing
|
||||
}
|
||||
|
||||
pure unit
|
Loading…
Reference in New Issue
Block a user