Safe Haskell | None |
---|---|
Language | Haskell98 |
- class MuRef a where
- module Data.Reify.Graph
- reifyGraph :: MuRef s => s -> IO (Graph (DeRef s))
Documentation
MuRef
is a class that provided a way to reference into a specific type,
and a way to map over the deferenced internals.
module Data.Reify.Graph
reifyGraph :: MuRef s => s -> IO (Graph (DeRef s)) Source
reifyGraph
takes a data structure that admits MuRef
, and returns a Graph
that contains
the dereferenced nodes, with their children as Int
rather than recursive values.