ribosome-host-0.9.9.9: Neovim plugin host for Polysemy
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ribosome.Host.Effect.Reports

Description

An effect for storing errors.

Synopsis

Documentation

data Reports :: Effect where Source #

This internal effect stores all errors in memory that have been created through the Report system.

Constructors

StoreReport :: ReportContext -> Report -> Reports m ()

Add a report to the store.

StoredReports :: Reports m (Map ReportContext [StoredReport])

Get all reports.

storeReport :: Member Reports r => ReportContext -> Report -> Sem r () Source #

Add a report to the store.