Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
(xs => x => S.insert (f (x)) (x) (xs))
({}));
(xs => x => {
const typeVarName = S.prop ('typevar') (x);
const newTypeClassName = S.prop ('typeclass') (x);
const typeVarClasses = S.fromMaybe
([])
(S.get
(S.is ($.Array ($.String)))
(typeVarName)
(xs));
return S.insert
(typeVarName)
(S.append (newTypeClassName) (typeVarClasses))
(xs);
})
({});
(acc => curr => S.insert (curr[0]) (curr[1]) (acc))
({});