Module

Grain.Internal.PropDiff

#Patch

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

#Create

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

#Delete

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

#Update

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

#diff

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

Modules