reactormonk 2017-01-28 04:45:34
There is no type to represent a URI?
hpc 2017-01-28 04:46:08
there are in a few web frameworks, but it's largely easier to just treat them as strings
pavonia 2017-01-28 04:59:34
reactormonk: The network package has one
codedmart 2017-01-28 04:59:36
Is it possible to have multiple executables in your cabal file but have compiling them be optional?
reactormonk 2017-01-28 05:00:58
pavonia, https://hackage.haskell.org/package/network-uri presumably?
sm 2017-01-28 05:01:09
codedmart: yes, you can set buildable: false based on some condition
pavonia 2017-01-28 05:01:52
reactormonk: Ah, it was split off, so yes
cocreature 2017-01-28 05:02:02
you can also just tell cabal to only build a specific target. it depends on what you are trying to achieve by making them optional
codedmart 2017-01-28 05:17:24
sm How do I pass that flag when using `stack build`?
sm 2017-01-28 05:28:55
codedmart: see stack build --help
codedmart 2017-01-28 05:41:31
Is there a way to check if your cabal file has unused deps?