on master help sign in
Revert "Fix 8.2.2 singletons"

This reverts commit cff5040da89c779ae7c8bf10afbbc9ac35ec6877.

commit14ded29195a53d1730b4cef8c54ecaf70ef3ba93 authorDenis Redozubov <denis.redozubov@gmail.com> dateWed 20 Feb 2019, 12:01 (8 years ago) parentb951f84
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)