Skip to content

Commit dbb1411

Browse files
authored
Add missing 'oneSlash' function to GUIDE.md
1 parent 87f8809 commit dbb1411

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)