blob: ab9de1380ce00f3cc0e88defdd08d3d76cca46e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
:set -XNoImplicitPrelude
:set prompt " λ "
:set prompt-cont " | "
:set -Wall
:set -haddock
:load Alpha
-- ':iq Module M' -> 'import qualified Module as M'
:def iq (\arg -> let [x, y] = Prelude.words arg in return <| "import qualified " ++ x ++ " as " ++ y)
:def hoogle \s -> return <| ":! hoogle search --count=15 \"" ++ s ++ "\""
:def hdoc \s -> return <| ":! hoogle search --info \"" ++ s ++ "\""
:def! f \_ -> return <| ":! ftags.sh \n:r"
:def! h \_ -> return <| ":! hoog.sh"
:def test \_ -> return <| ":main test"
|