tinytools-0.1.0.3
Safe HaskellSafe-Inferred
LanguageHaskell2010

Potato.Flow.Deprecated.State

Synopsis

Documentation

data PFState Source #

Instances

Instances details
FromJSON PFState Source # 
Instance details

Defined in Potato.Flow.Deprecated.State

ToJSON PFState Source # 
Instance details

Defined in Potato.Flow.Deprecated.State

Generic PFState Source # 
Instance details

Defined in Potato.Flow.Deprecated.State

Associated Types

type Rep PFState :: Type -> Type #

Methods

from :: PFState -> Rep PFState x #

to :: Rep PFState x -> PFState #

Show PFState Source # 
Instance details

Defined in Potato.Flow.Deprecated.State

NFData PFState Source # 
Instance details

Defined in Potato.Flow.Deprecated.State

Methods

rnf :: PFState -> () #

Eq PFState Source # 
Instance details

Defined in Potato.Flow.Deprecated.State

Methods

(==) :: PFState -> PFState -> Bool #

(/=) :: PFState -> PFState -> Bool #

type Rep PFState Source # 
Instance details

Defined in Potato.Flow.Deprecated.State

type Rep PFState = D1 ('MetaData "PFState" "Potato.Flow.Deprecated.State" "tinytools-0.1.0.3-HF5s50ZrT30LQps3nQySnP" 'False) (C1 ('MetaCons "PFState" 'PrefixI 'True) (S1 ('MetaSel ('Just "_pFState_layers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Seq REltId)) :*: (S1 ('MetaSel ('Just "_pFState_directory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (REltIdMap SEltLabel)) :*: S1 ('MetaSel ('Just "_pFState_canvas") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SCanvas))))

do_move :: ([LayerPos], LayerPos) -> PFState -> (PFState, SEltLabelChanges) Source #

(list of parents (assert no repeats), target (placed after or as first child if top owl (no parent))) do_move :: ([REltId], Maybe REltId) -> PFState -> (PFState, SEltLabelChanges) TODO assert selection has all children