packages feed

servant-serf 0.3.1.0 → 0.3.1.1

raw patch · 2 files changed

+3/−2 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

servant-serf.cabal view
@@ -1,7 +1,7 @@ cabal-version: 2.0  name: servant-serf-version: 0.3.1.0+version: 0.3.1.1 synopsis: Automatically generate Servant API modules. description:   = servant-serf
source/library/ServantSerf/Module.hs view
@@ -20,8 +20,9 @@           . ModuleName.fromFilePath           $ Context.source context       Just x -> ModuleName.toString x+    suffix = Config.excludeSuffix config     moduleNames =-      filter (not . List.isSuffixOf (Config.excludeSuffix config))+      (if null suffix then id else filter $ not . List.isSuffixOf suffix)         . fmap ModuleName.toString         . List.sort         . Maybe.mapMaybe ModuleName.fromFilePath