Skip to content

Commit

Permalink
Add Eq instance for Columnable.
Browse files Browse the repository at this point in the history
Preparation for join operation.
  • Loading branch information
mchav committed Jan 18, 2025
1 parent 8a06c44 commit 59beb89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Data/DataFrame/Internal/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import Data.Type.Equality (TestEquality(..))

-- We need an "Object" type as an intermediate representation
-- for rows. Useful for things like sorting and function application.
type Columnable a = (Typeable a, Show a, Ord a)
type Columnable a = (Typeable a, Show a, Ord a, Eq a)

data RowValue where
Value :: (Columnable a) => a -> RowValue
Expand Down

0 comments on commit 59beb89

Please sign in to comment.