database-study-0.0.1: Demonstrate how a database can be implemented the functional way
Table
create :: a -> IO (IORef a)Source
from :: IORef a -> IO aSource
insert :: IORef [a] -> a -> IO ()Source
delete :: IORef [a] -> (a -> Bool) -> IO ()Source
update :: IORef [a] -> (a -> a) -> IO ()Source
updateWhere :: IORef [a] -> (a -> a) -> (a -> Bool) -> IO ()Source