Skip to content

Commit

Permalink
Use Columnable constraint synonym.
Browse files Browse the repository at this point in the history
Some spots were missing.
  • Loading branch information
mchav committed Jan 18, 2025
1 parent 5e604eb commit 8a06c44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Data/DataFrame/Internal/Function.hs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ data Function where
F2 :: forall a b c . (Columnable a, Columnable b, Columnable c) => (a -> b -> c) -> Function
F3 :: forall a b c d . (Columnable a, Columnable b, Columnable c, Columnable d) => (a -> b -> c -> d) -> Function
F4 :: forall a b c d e . (Columnable a, Columnable b, Columnable c, Columnable d, Columnable e) => (a -> b -> c -> d -> e) -> Function
Cond :: forall a . (Typeable a, Show a, Ord a) => (a -> Bool) -> Function
ICond :: forall a . (Typeable a, Show a, Ord a) => (Int -> a -> Bool) -> Function
Cond :: forall a . (Columnable a) => (a -> Bool) -> Function
ICond :: forall a . (Columnable a) => (Int -> a -> Bool) -> Function

-- Helper class to do the actual wrapping
class WrapFunction a where
Expand Down

0 comments on commit 8a06c44

Please sign in to comment.