Module

Grain.Internal.Diff

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

#Patch Source

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 Source

type GetKey c = Fn2 Int c String

#Create Source

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

#Delete Source

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

#Update Source

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

#Move Source

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

#diff Source

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