Module

Grain.Internal.Diff

#Patch

type Patch ctx p c = { create :: Create ctx p c, delete :: Delete ctx p c, getKey :: GetKey c, move :: Move ctx p c, update :: Update ctx p c }

#GetKey

type GetKey c = Fn2 Int c String

#Create

type Create ctx p c = EffectFn5 ctx p String Int c Unit

#Delete

type Delete ctx p c = EffectFn4 ctx p String c Unit

#Update

type Update ctx p c = EffectFn5 ctx p String c c Unit

#Move

type Move ctx p c = EffectFn6 ctx p String Int c c Unit

#diff

diff :: forall ctx p c. EffectFn2 (Patch ctx p c) (DiffArgs ctx p c) Unit

Modules