You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: io-classes/README.md
+19-19Lines changed: 19 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# IO Monad Class Hierarchy
1
+
# IO Monad Class Hierarchy: `io-classes`
2
2
3
3
This package provides a monad class hierarchy which is an interface for both
4
4
the [`io-sim`] and [`IO`] monads. It was developed with the following
@@ -12,19 +12,23 @@ constraints in mind:
12
12
13
13
We provide also non-standard extensions of this API in **sublibraries**:
14
14
15
-
*[`io-classes:strict-stm`]: strict `TVar`'s, and other mutable `STM` variables, with
15
+
*[`io-classes:strict-stm`](https://input-output-hk.github.io/io-sim/io-classes/strict-stm/index.html) strict `TVar`'s, and other mutable `STM` variables, with
[`io-classes:strict-stm`] and [`nothunks`] were successfully used in a large
24
+
[`io-classes:strict-stm`](https://input-output-hk.github.io/io-sim/io-classes/strict-stm/index.html) and [`nothunks`] were successfully used in a large
25
25
code base to eliminate space leaks and keep that property over long development
26
26
cycles.
27
27
28
+
## Documentation
29
+
30
+
Hackage doesn't yet support public sublibraries, thus Haddocks are published [here][io-classes-haddocks]
31
+
28
32
## Exception Class Hierarchy
29
33
30
34
This package provides an alternative class hierarchy giving access to
@@ -64,7 +68,7 @@ delays & timers.
64
68
## Software Transactional Memory API
65
69
66
70
We provide two interfaces to `stm` API: lazy, included in `io-classes`; and
67
-
strict one provided by [`io-classes:strict-stm`].
71
+
strict one provided by [`io-classes:strict-stm`](https://input-output-hk.github.io/io-sim/io-classes/strict-stm/index.html).
68
72
69
73
## Threads API
70
74
@@ -78,9 +82,9 @@ packages.
78
82
79
83
## Some other APIs
80
84
81
-
*[MonadEventlog]: provides an API to the [Debug.Trace] event log interface.
82
-
*[MonadST]: provides a way to lift `ST`-computations.
83
-
*[MonadSay]: dummy debugging interface
85
+
*[MonadEventlog][MonadEventlog]: provides an API to the [Debug.Trace] event log interface.
86
+
*[MonadST][MonadST]: provides a way to lift `ST`-computations.
87
+
*[MonadSay][MonadSay]: dummy debugging interface
84
88
85
89
## Differences from `base`, `async`, or `exceptions` packages
86
90
@@ -142,7 +146,7 @@ its limitations and so there might be some rough edges. PRs are welcomed,
0 commit comments