DouglasOrr / HistorianDojo

Haskell codebase historian dojo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Haskell codebase historian dojo

We're writing some sort of git log processor to do some historical analysis of our codebase. To get going:

terminal$...
sudo apt-get install ghc cabal-install   # or however your platform does it
cabal update && cabal install split
ghci

ghci>...
:l historian.hs
run "path/to/repo"           -- run historian over commit log (default: echo)

-- finally, edit historian.hs... :l... run... repeat

Frankenstein's creations...

Links & a personal favourite snippet from each project...

[x | x <- (listWords log), (not (Data.Set.member x banned))]
countDays (map (precious . (\x -> read x :: Integer)) times)
ys = sortBy (on compare length) (group (analyseHistory xs))
ft (h:t) = M.insertWith (+) h 1 (ft t)

Possibly helpful things

About

Haskell codebase historian dojo


Languages

Language:Haskell 100.0%