Implement isToday predicate

Use the Data.Time package to implement the isToday predicate.
This commit is contained in:
William Carroll 2020-03-29 00:00:47 +00:00
parent 561cb619a1
commit ef5eda4015
2 changed files with 17 additions and 23 deletions

View file

@ -1,7 +1,8 @@
let
pkgs = import <nixpkgs> {};
pkgs = import <unstable> {};
in pkgs.mkShell {
buildInputs = with pkgs; [
ghc
haskellPackages.time
];
}