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
My question is, is there a way to simplify AddMeta's type signature so I don't have to type out all the columns explicitly? This sample case only has 4 columns total, but this can quickly get unwieldy if I am trying to append 2 frames with large amounts of columns together.
I have seen the usage of ++ in the type signatures, and have tried to use AddMeta :: SomeData -> MetaData ++ SomeData but this results in the following compile error:
Expected kind ‘[k0]’, but ‘HpcUsage’ has kind ‘Type’
The text was updated successfully, but these errors were encountered:
I am trying to append 2
Records
together usingrappend
, where the 2Records
have the following type:I then have a function that prepends the columns from
MetaData
toSomeData
:My question is, is there a way to simplify
AddMeta
's type signature so I don't have to type out all the columns explicitly? This sample case only has 4 columns total, but this can quickly get unwieldy if I am trying to append 2 frames with large amounts of columns together.I have seen the usage of
++
in the type signatures, and have tried to useAddMeta :: SomeData -> MetaData ++ SomeData
but this results in the following compile error:The text was updated successfully, but these errors were encountered: