The latest version of trial is 0.0.0.0-4.

trial

Version 0.0.0.0 revision 0 uploaded by vrom911.

Package meta

Synopsis
Trial Data Structure
Description

The Trial Data Structure is a Either-like structure that keeps events history inside. The data type allows to keep track of the Fatality level of each such event entry (Warning or Error).

data Trial e a
           │ │
           │ ╰╴Resulting type
           │
           ╰╴An error item type

    -- | Unsuccessful case
    = Fiasco (DList (Fatality, e))
              │      │         │
              │      │         ╰╴One error item
              │      │
              │      ╰╴Level of damage
              │
              ╰╴Efficient list-container for error type items

    -- | Successful case
    | Result (DList e) a
              │     │  │
              │     │  ╰╴Result
              │     │
              │     ╰╴One warning item
              │
              ╰╴Efficient list-container for warning type items
Author
Veronika Romashkina, Dmitrii Kovanikov
Bug reports
https://github.com/kowainik/trial/issues
Category
Data Structure, Data
Copyright
2020 Kowainik
Homepage
https://github.com/kowainik/trial
Maintainer
Kowainik <xrom.xkov@gmail.com>
Package URL
n/a
Stability
n/a

Components