Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,18 @@
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
granitePkg = pkgs.fetchFromGitHub {
repo = "granite";
owner = "mchav";
rev = "main";
hash = "sha256-ypDiV99w2J8q7XcMpFWkv0kEm2dtWZduWIkAsuXDHEo=";
};

hsPkgs = pkgs.haskellPackages.extend (self: super: {
dataframe = self.callCabal2nix "dataframe" ./. { };
hsPkgs = pkgs.haskellPackages.extend (self: super: rec {
granite = self.callCabal2nix "granite" granitePkg { };
dataframe = self.callCabal2nix "dataframe" ./. {
inherit granite;
};
});
in
{
Expand Down
3 changes: 0 additions & 3 deletions src/DataFrame/Typed.hs
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,6 @@ module DataFrame.Typed (
-- * Constraints
KnownSchema (..),
AllKnownSymbol (..),

-- * Pipe operator
(|>),
) where

import Prelude hiding (drop, filter, take)
Expand Down
2 changes: 0 additions & 2 deletions src/DataFrame/Typed/Operations.hs
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,8 @@

-- * Vertical merge
append,

) where

import Data.Function ((&))
import Data.Proxy (Proxy (..))
import qualified Data.Text as T
import qualified Data.Vector as V
Expand Down Expand Up @@ -216,7 +214,7 @@
forall name a cols.
( KnownSymbol name
, Columnable a
, (Maybe a) ~ Lookup name cols

Check warning on line 217 in src/DataFrame/Typed/Operations.hs

View workflow job for this annotation

GitHub Actions / hlint

Suggestion in impute in module DataFrame.Typed.Operations: Redundant bracket ▫︎ Found: "(Maybe a) ~ Lookup name cols" ▫︎ Perhaps: "Maybe a ~ Lookup name cols"
) =>
a ->
TypedDataFrame cols ->
Expand Down