definition:
|
newEntry :: Show t =>
(Key -> t -> Dynamic) -> (Key -> t -> en) -> t -> Transaction en
newEntry pred info2entry info =
newDBEntry pred info |>>= \k -> returnT (info2entry k info)
|
demand:
|
no demanded arguments
|
deterministic:
|
deterministic operation
|
documentation:
|
--- Insert a new entity and assign a new key for it.
|
failfree:
|
<FAILING>
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{(_,_,_,_) |-> _}
|
name:
|
newEntry
|
precedence:
|
no precedence defined
|
result-values:
|
_
|
signature:
|
Prelude.Show a => (Prelude.Int -> a -> Database.KeyDatabaseSQLite.Dynamic)
-> (Prelude.Int -> a -> b) -> a -> Database.KeyDatabaseSQLite.Transaction b
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
possibly non-terminating
|
totally-defined:
|
possibly non-reducible on same data term
|