Skip to content

Commit 1078f30

Browse files
committed
Fix references in GUIDE
1 parent 20e25df commit 1078f30

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

GUIDE.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,13 @@ If you can only construct a URL from your route, then it's impossible to
4747
construct an invalid URL.
4848

4949
To turn a stringy path into our data type, we need to define a parser using
50-
combinators in `Routing.Match.Class` as well as standard `Applicative` and
50+
combinators in `Routing.Match` as well as standard `Applicative` and
5151
`Alternative` combinators.
5252

5353
```purescript
5454
import Prelude
5555
import Control.Alternative ((<|>))
56-
import Routing.Match (Match)
57-
import Routing.Match.Class (lit, int, str, end)
56+
import Routing.Match (Match, lit, int, str, end)
5857
```
5958

6059
The available `Match` combinators are:
@@ -245,7 +244,7 @@ import Routing.Hash (matches)
245244
import MyRoute (myRoute)
246245
```
247246

248-
The `matches` combinator takes a `Match` parser and an `Eff` callback,
247+
The `matches` combinator takes a `Match` parser and an `Effect` callback,
249248
providing the previously matched route (wrapped in `Maybe` since it may be
250249
the initial route) and the currently matched route. You might use this
251250
callback to push an input to an instance of a running application.

0 commit comments

Comments
 (0)