1
0
mirror of https://github.com/kmein/niveum synced 2026-03-19 11:31:09 +01:00

Revert "MASSIVE restructuring"

This reverts commit b94da2d550.
This commit is contained in:
Kierán Meinhardt
2019-01-30 13:16:49 +01:00
parent a6bf4a4793
commit 101e7c99d4
23 changed files with 418 additions and 504 deletions

10
dot/ghci.nix Normal file
View File

@@ -0,0 +1,10 @@
{ pkgs }:
''
:set editor vim
:def hoogle \s -> return $ ":!${pkgs.haskellPackages.hoogle}/bin/hoogle search --color -l --count=15 \"" ++ s ++ "\""
:def doc \s -> return $ ":!${pkgs.haskellPackages.hoogle}/bin/hoogle search --color -l --info \"" ++ s ++ "\""
:def pl \x -> return $ ":!${pkgs.haskellPackages.pointfree}/bin/pointfree -v \"" ++ x ++ "\""
:def unpl \x -> return $ ":!${pkgs.haskellPackages.pointful}/bin/pointful \"" ++ x ++ "\""
:set prompt "\o033[1m%s\o033[1;34m λ\o033[0m "
''
# :def djinn \x -> return $ ":!echo \"" ++ x ++ "\" | ${pkgs.haskell.packages.ghc7102.djinn}/bin/djinn /dev/stdin"