Module

Grain.Internal.PropDiff

Package
purescript-grain
Repository
purescript-grain/purescript-grain

#Patch Source

type Patch ctx a = { create :: Create ctx a, delete :: Delete ctx a, update :: Update ctx a }

#Create Source

type Create ctx a = EffectFn2 ctx (Tuple String a) Unit

#Delete Source

type Delete ctx a = EffectFn2 ctx (Tuple String a) Unit

#Update Source

type Update ctx a = EffectFn3 ctx (Tuple String a) (Tuple String a) Unit

#diff Source

diff :: forall ctx a. EffectFn2 (Patch ctx a) (DiffArgs ctx a) Unit