Skip to content

Commit df54213

Browse files
authored
Update README.md
1 parent 15a4635 commit df54213

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,31 +9,31 @@
99
* concurrency: both low level `forkIO` as well as `async` style
1010
* strict STM
1111
* access to lazy ST
12-
* schedule discovery (see [IOSimPOR](./how-to-use-IOSimPOR.md)
12+
* schedule discovery (see [IOSimPOR](./how-to-use-IOSimPOR.md))
1313
* eventlog
1414
* dynamic tracing
1515
* tracing committed changes to `TVar`, `TMVar`s, ...
1616
* labeling of threads, `TVar`'s, ...
1717

1818
`io-classes` provide a common interface, which allow to write code which can be
19-
run in both real `IO` and `IOSim`. It is a drop-in replacement for `IO`.
19+
run in both real `IO` and `IOSim`. It is a drop-in replacement for `IO`.
2020

2121
One of the principles of `io-classes` was to stay as close to `IO` as possible,
2222
thus most of the `IO` instances are directly referring to `base`, `async` api.
2323
However we made some differences, which are reported below.
2424

2525
`io-classes` supports a novel hierarchy for error handling monads as well more
26-
familiar `exception` style. The new hierarchy provides `bracket` and
26+
familiar `exception` style. The new hierarchy provides `bracket` and
2727
`finally` functions in the `MonadThrow` class, while `catch` style operators
28-
are provided by a super-class `MonadCatch`. Both `bracket` and `finally` are
28+
are provided by a super-class `MonadCatch`. Both `bracket` and `finally` are
2929
the most common interface used to write code with robust exception handling,
3030
exposing them through the more basic `MonadThrow` class informs the reader
31-
/ reviewer than no tricky error handling is done in that section of the code
31+
/ reviewer that no tricky error handling is done in that section of the code
3232
base.
3333

3434
`IOSim` exposes a detailed trace, which can be enhanced by labelling threads,
3535
or mutable variables, tracing `Dynamic` values (which can be recovered from the
36-
trace) or simple `String` based tracing. It has been used to develop & test
36+
trace) or simple `String` based tracing. It has been used to develop & test
3737
a complex concurrent system ([ouroboros-network][ouroboros-network]), in
3838
particular
3939

@@ -67,9 +67,9 @@ type Async :: (Type -> Type) -> Type -> Type
6767

6868
The first type of kind `Type -> Type` describe the monad which could be
6969
instantiated to `IO`, `IOSim` or some other monad stack build with monad
70-
transformers. The same applies to many other types, e.g. `TVar`, `TMVar`.
70+
transformers. The same applies to many other types, e.g. `TVar`, `TMVar`.
7171

72-
The types although similar to the original
72+
The types although similar to the original
7373
are not the same as the ones that come from `base`, `async`, or
7474
`excpetions` packages:
7575

0 commit comments

Comments
 (0)