0.9 #139

Merged
merged 0 commits into from Jun 6, 2012

Projects

None yet

2 participants

@sopvop
Contributor
sopvop commented Jun 6, 2012

forgot one file

@gregorycollins gregorycollins commented on an outdated diff Jun 6, 2012
src/Snap/Internal/Http/Types.hs
+ POST == POST = True
+ POST == Method "POST" = True
+ PUT == PUT = True
+ PUT == Method "PUT" = True
+ DELETE == DELETE = True
+ DELETE == Method "DELETE" = True
+ TRACE == TRACE = True
+ TRACE == Method "TRACE" = True
+ OPTIONS == OPTIONS = True
+ OPTIONS == Method "OPTIONS" = True
+ CONNECT == CONNECT = True
+ CONNECT == Method "CONNECT" = True
+ PATCH == PATCH = True
+ PATCH == Method "PATCH" = True
+ Method a == Method b = a == b
+ m@(Method _) == other = other == m
gregorycollins
gregorycollins Jun 6, 2012 Owner

It would be nice if this were vertically aligned better (i.e. the "==" and the "=" all in the same column) -- that's a "snap style" peculiarity.

@sopvop sopvop merged commit 4e050a3 into snapframework:0.9 Jun 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment