Skip to content

Instantly share code, notes, and snippets.

@nc6
nc6 / gist:a485930aa39c7a758c75009898403555
Last active January 22, 2019 16:39
How to build a file created with cabal2nix
nix-repl> hp = pkgs.haskell.packages.ghc863.override { overrides = self: super: rec { funflow = self.callPackage ./. {}; }; }
nix-repl> :b hp.funflow
@nc6
nc6 / Hanging.lean
Created May 21, 2021 19:25
Unexpected hanging paradox
import Init.Data.Ord
namespace Weekday
/- Weekdays -/
inductive Weekday where
| monday : Weekday
| tuesday : Weekday
| wednesday : Weekday
| thursday : Weekday