Skip to content

Instantly share code, notes, and snippets.

View HoldenLucas's full-sized avatar
👀

Holden Lucas HoldenLucas

👀
View GitHub Profile
@HoldenLucas
HoldenLucas / .ghci
Created April 14, 2022 23:25 — forked from rpearce/.ghci
Flake for using Haskell in nix develop
:def hoogle \x -> return $ ":!hoogle --count=15 \"" ++ x ++ "\""
:def doc \x -> return $ ":!hoogle --info \"" ++ x ++ "\""
:set -Wall
:set -fno-warn-type-defaults -ferror-spans -freverse-errors -fprint-expanded-synonyms
:set prompt "\ESC[0;32m%s\n\ESC[m[ghci]\ESC[38;5;172mλ \ESC[m"
:set prompt-cont " \ESC[38;5;172m> \ESC[m"