Doing week 04, watching "PPP 030403 - The EmulatorTrace Monad"
In the repl, having already imported as follows
>import Data.Char >import Text.Read >import Plutus.Trace.Emulator >import Data.Default
If I enter ":t TraceConfig" I see
Attempting to explore that, I enter (and get error) as follows:Prelude Data.Char Text.Read Plutus.Trace.Emulator Data.Default> :t TraceConfig TraceConfig :: (Wallet.Emulator.MultiAgent.EmulatorEvent' -> Maybe String) -> GHC.IO.Handle.Types.Handle -> TraceConfig Prelude Data.Char Text.Read Plutus.Trace.Emulator Data.Default>
My question is, why does ":i" (requesting info about) work, but ":t" (requesting merely the type, which is actually included in the info) does not? Tracking these multiple nestings of data structures is straining my brain.Prelude Data.Char Text.Read Plutus.Trace.Emulator Data.Default> :t Wallet.Emulator.MultiAgent.EmulatorEvent' :1:1: error: Not in scope: data constructor ‘Wallet.Emulator.MultiAgent.EmulatorEvent'’ No module named ‘Wallet.Emulator.MultiAgent’ is imported. Prelude Data.Char Text.Read Plutus.Trace.Emulator Data.Default> :i Wallet.Emulator.MultiAgent.EmulatorEvent' type Wallet.Emulator.MultiAgent.EmulatorEvent' :: * data Wallet.Emulator.MultiAgent.EmulatorEvent' = Wallet.Emulator.MultiAgent.ChainEvent Wallet.Emulator.Chain.ChainEvent | Wallet.Emulator.MultiAgent.ClientEvent Wallet.Emulator.Wallet.Wallet Wallet.Emulator.NodeClient.NodeClientEvent | Wallet.Emulator.MultiAgent.WalletEvent Wallet.Emulator.Wallet.Wallet Wallet.Emulator.Wallet.WalletEvent | Wallet.Emulator.MultiAgent.ChainIndexEvent Wallet.Emulator.Wallet.Wallet plutus-chain-index-core-0.1.0.0:Plutus.ChainIndex.ChainIndexLog.ChainIndexLog | Wallet.Emulator.MultiAgent.SchedulerEvent Plutus.Trace.Scheduler.SchedulerLog | Wallet.Emulator.MultiAgent.InstanceEvent Plutus.Trace.Emulator.Types.ContractInstanceLog | Wallet.Emulator.MultiAgent.UserThreadEvent Plutus.Trace.Emulator.Types.UserThreadMsg -- Defined in ‘Wallet.Emulator.MultiAgent’ instance Eq Wallet.Emulator.MultiAgent.EmulatorEvent' -- Defined in ‘Wallet.Emulator.MultiAgent’ instance Show Wallet.Emulator.MultiAgent.EmulatorEvent' -- Defined in ‘Wallet.Emulator.MultiAgent’ Prelude Data.Char Text.Read Plutus.Trace.Emulator Data.Default>