This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Conc (interpretScoped, interpretScopedWith, interpretSync) | |
import Database.PostgreSQL.Simple (Connection) | |
import qualified Database.PostgreSQL.Simple.Transaction as Psql | |
import Polysemy.Bundle (Bundle (Bundle), sendBundle) | |
import Polysemy.Internal.Kind (Append) | |
import Polysemy.Membership (ElemOf (Here, There)) | |
import qualified Sync | |
data Connections :: Effect where | |
New :: Connections m Connection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
body { | |
font:12px/20px 'Helvetica'; | |
} | |
textarea, input { | |
width:100%; | |
height:20px; | |
margin:0; |