Skip to content

Commit 9dd1a1d

Browse files
authored
Merge pull request #24 from epost/patch-1
Add missing 'oneSlash' function to GUIDE.md
2 parents 87f8809 + dbb1411 commit 9dd1a1d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

GUIDE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ data Locations
3636
We'll use `Locations` instead of `Routes` to avoid confusion with the `Route` (singular) type exposed by the library. But let's discuss the types later. For now, we'll see it in action:
3737

3838
```purescript
39+
oneSlash :: Match Unit
40+
oneSlash = lit "/"
3941
4042
homeSlash :: Match Unit
4143
homeSlash = lit ""

0 commit comments

Comments
 (0)