Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Sutori.Logger
Description
Provides a common framework (class) to showSut
sutori componentselementsconstructs.
Documentation
Simple tree data structure to allow pretty printing of sutori logs
Constructors
SutLogLeave String | A final message |
SutLogNode String [SutLog] | A message with children messages |
class SutShow a where Source #
Interface for pretty-printing Sutori constructs (token, actions, tables, ...)
Minimal complete definition
Sutori logger, where we register logs for reasons
, via a WriterT