retrieve github data through haskell functions