You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At least in ghc 9.8, -XOverloadedRecordUpdate needs a flipped setField. I have to define:
{-# LANGUAGE ScopedTypeVariables, TypeApplications, AllowAmbiguousTypes #-}
setField::forallfsa. (HasField'fsa) =>s->a->s
setField a b =Data.Generics.Product.setField @f b a
I like your order better, but it's easier to deal with a change in a library than a change in ghc.
The text was updated successfully, but these errors were encountered:
At least in ghc 9.8, -XOverloadedRecordUpdate needs a flipped setField. I have to define:
I like your order better, but it's easier to deal with a change in a library than a change in ghc.
The text was updated successfully, but these errors were encountered: