on master help sign in
Fix 8.2.2 singletons
commit6b928a8a9f3d26f9193073bcd54bef9797329431 authorDenis Redozubov <denis.redozubov@gmail.com> dateWed 20 Feb 2019, 11:46 (8 years ago) parent0ebe206
1 file changed+2−2
src/Data/Schematic/Migration.hs+2−2
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)