Skip to content

Added 'text' Router #7

wants to merge 6 commits into from

1 participant


Now disallowing slashes in strings, so you can do:

data Blog = Post { category :: String, title :: String }

blog :: Router r (Blog :- r)
blog = rPost / string / string

Added a dependency on Data.Text, as that's such a common library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.