on 0ebe206 help sign in
2 files changed+4−4
since splitsnapshots
unifiedsplit
schematic.cabal+2−2 src/Data/Schematic/Migration.hs+2−2
schematic.cabal+2−2
@@ -75,14 +75,14 @@ library
7575 , regex-tdfa
7676 , regex-tdfa-text
7777 , scientific
78− , singletons >= 2.4
78+ , singletons >= 2.3
7979 , smallcheck
8080 , tagged
8181 , template-haskell
8282 , text
8383 , union
8484 , unordered-containers
85− , validationt >= 0.2.1.0
85+ , validationt >= 0.2.0.0
8686 , vector
8787 , vinyl
8888 hs-source-dirs: src
src/Data/Schematic/Migration.hs+2−2
@@ -43,8 +43,8 @@ type family SchemaByKey (fs :: [(Symbol, Schema)]) (s :: Symbol) :: Schema where
4343 SchemaByKey ( '(a, s) ': tl) fn = SchemaByKey tl fn
4444
4545type family DeleteKey (acc :: [(Symbol, Schema)]) (fn :: Symbol) (fs :: [(Symbol, Schema)]) :: [(Symbol, Schema)] where
46− DeleteKey acc fn ('(fn, a) ': tl) = acc ++ tl
47− DeleteKey acc fn (fna ': tl) = acc ++ (fna ': tl)
46+ DeleteKey acc fn ('(fn, a) ': tl) = acc :++ tl
47+ DeleteKey acc fn (fna ': tl) = acc :++ (fna ': tl)
4848
4949type family UpdateKey
5050 (fn :: Symbol)