Skip to content

Commit a014a7b

Browse files
authored
Update README.md
1 parent df54213 commit a014a7b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,24 @@
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
3131
/ 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,7 +67,7 @@ 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

7272
The types although similar to the original
7373
are not the same as the ones that come from `base`, `async`, or

0 commit comments

Comments
 (0)