Skip to content

Commit

Permalink
README.md: Remove the last of the Haddock markup
Browse files Browse the repository at this point in the history
  • Loading branch information
endgame committed Mar 18, 2024
1 parent 31cc64b commit 26a79d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ import qualified Servant.ActiveResource as AR

newtype MyResourceId = MyResourceId Int
-- Type for new values or updates to existing values. Usually
-- missing an @id@ field.
-- missing an `id` field.
data MyResource = MyResource {...}
-- Like MyResource, but returned from the database.
data MyStoredResource = MyStoredResource {...}

-- The exact monad used will depend on your program. Here, we just assume
-- Handler from package servant-server.
-- `Handler` from package servant-server.
instance AR.Resource MyResourceId Handler where
type ResourceData MyResourceId = MyResource
type StoredResourceData MyResourceId = MyStoredResource
Expand Down

0 comments on commit 26a79d5

Please sign in to comment.