Unbox some more graph stuff (#543)
authorDavid Feuer <David.Feuer@gmail.com>
Fri, 9 Mar 2018 19:39:19 +0000 (14:39 -0500)
committerGitHub <noreply@github.com>
Fri, 9 Mar 2018 19:39:19 +0000 (14:39 -0500)
commit1a38677b6daf914910f8332706ee9525d7bf9494
tree9c3ed14411203fb91faf45f600701391e08f1d88
parent4952822250db26c2c6d586abef3f8745b2c6e3a8
Unbox some more graph stuff (#543)

* Replace boxed arrays of `Int` with unboxed ones.
* Make a `zipWith` able to fuse.
* Use `fmap` in `outdegree` rather than a custom function for
  mapping with an index we don't need anyway.
* Use `.Safe` array modules in `Data.Graph`.
Data/Graph.hs
include/containers.h