Module
WAGS.Universe.EdgeProfile
- Package
- purescript-wags
- Repository
- mikesol/purescript-wags
#EdgeProfile Source
data EdgeProfile
An edge profile represents incoming edges in a node.
#ManyEdges Source
data ManyEdges :: Ptr -> PtrList -> EdgeProfile
Used for a node that has at least one and potentiall more incoming edges.
Instances
(EdgeListable x y) => AsEdgeProfile (Tuple (AudioUnitRef ptr) x) (ManyEdges ptr y)
#SingleEdge Source
data SingleEdge :: Ptr -> EdgeProfile
Used for a node that has only one incoming edge.
Instances
AsEdgeProfile (AudioUnitRef ptr) (SingleEdge ptr)
#NoEdge Source
data NoEdge :: EdgeProfile
Used for a node that has no incoming edges.
#AsEdgeProfile Source
class AsEdgeProfile a (b :: EdgeProfile) | a -> b where
Coerce an AudioUnitRef
or a tuple of AudioUnitRef
-s to an EdgeProfile
.
Members
getPointers :: a -> PtrArr b
asEdgeProfile :: a -> Proxy b
Instances
AsEdgeProfile (AudioUnitRef ptr) (SingleEdge ptr)
(EdgeListable x y) => AsEdgeProfile (Tuple (AudioUnitRef ptr) x) (ManyEdges ptr y)
#EdgeListable Source
class EdgeListable a (b :: PtrList) | a -> b where
Gets incoming pointers as a pointer list.
Members
getPointers' :: a -> PtrArr b
Instances
EdgeListable Unit PtrListNil
(EdgeListable x y) => EdgeListable (Tuple (AudioUnitRef ptr) x) (PtrListCons ptr y)
- Modules
- FRP.
Event. MIDI - WAGS.
Change - WAGS.
Connect - WAGS.
Control. Functions - WAGS.
Control. MemoizedState - WAGS.
Control. Qualified - WAGS.
Control. Thunkable - WAGS.
Control. Types - WAGS.
Create - WAGS.
Cursor - WAGS.
Debug - WAGS.
Destroy - WAGS.
Disconnect - WAGS.
Graph. Constructors - WAGS.
Graph. Decorators - WAGS.
Graph. Getter - WAGS.
Graph. Optionals - WAGS.
Graph. Parameter - WAGS.
Interpret - WAGS.
Move - WAGS.
MoveNode - WAGS.
Rebase - WAGS.
Rendered - WAGS.
Run - WAGS.
Universe. AudioUnit - WAGS.
Universe. Bin - WAGS.
Universe. BinN - WAGS.
Universe. EdgeProfile - WAGS.
Universe. Graph - WAGS.
Universe. Node - WAGS.
Universe. Skolems - WAGS.
Universe. Universe - WAGS.
Util - WAGS.
Validation