From 4e3736553425162370f80b3963ff445c47aa53d0 Mon Sep 17 00:00:00 2001 From: "Julian K. Arni" Date: Sun, 20 Mar 2016 19:04:49 +0100 Subject: [PATCH] Fix type-synonym in tutorial --- doc/tutorial/ApiType.lhs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/tutorial/ApiType.lhs b/doc/tutorial/ApiType.lhs index ff64a0ae..6c3e2337 100644 --- a/doc/tutorial/ApiType.lhs +++ b/doc/tutorial/ApiType.lhs @@ -95,10 +95,10 @@ type Get = Verb 'GET 200 There are other predefined type synonyms for other common HTTP methods, such as e.g.: ``` haskell ignore -data Delete = Verb 'DELETE 200 -data Patch = Verb 'PATCH 200 -data Post = Verb 'POST 200 -data Put = Verb 'PUT 200 +type Delete = Verb 'DELETE 200 +type Patch = Verb 'PATCH 200 +type Post = Verb 'POST 200 +type Put = Verb 'PUT 200 ``` There are also variants that do not return a 200 status code, such