Yan Han's blog
On Computer Technology
Home
About
Bookshelf
All Posts
Tags
haskell
09
Dec 2017
Haskell deep dive: zsh-git-prompt
In How To Become A Hacker, Eric S. Raymond gives the following golden advice: Learning to program is like learning to w...
10
Aug 2017
Haskell: demystifying composing compose with compose
Problem Statement Figure out the type of the following Haskell code, why it has that type, and what it does: (.) . (.) S...
02
Jul 2017
haskell-vim-now / ghcmod-vim: Resolving 'ghcmod#command#type Cannot guess type' errors
NOTE: This post features a very hacky way to work around things which will likely never be merged into the ghcmod-vim pr...
04
Mar 2014
How to solve "cabal: Codec.Compression.Zlib: premature end of compressed stream" - the easy but time consuming way
TLDR If you are already extremely frustrated by this problem, the solution is just: cd ~/.cabal/packages/hackage.haskell...
22
Dec 2013
cabal - installing test dependencies
Update Dec 2017: Dear reader, this post was written in a time when Stack did not exist and Haskell users had to deal wit...
30
Nov 2013
Using cabal sandbox libraries
Update Dec 2017: Dear reader, this post was written in a time when Stack did not exist and Haskell users had to deal wit...