Greg Weber
Greg Weber
It is the same choice as whether to use a concrete List or a Functor/Foldable/Traversable structure. NonEmpty is concrete, and concrete types are be easier to work with when that...
it adds a dependency on persistent
One way or another someone should be able to create a `simple` app scaffolding without a persistent dependency. This seems to be working against that even if it isn't the...
I changed the yesod dep to yesod-core. This change would be a good preparation for the yesod-shakespeare split.
I think the problem I was just going to open up a ticket for is somewhat related. I am extending backbone views and models. The preferred way of doing this...
yeah, I know I should be able to do that but then my type definition would be far away from the function location. Backbone views can easily take up 100...
``` coffee method :: (C) -> C method = (args) -> ... # create a new copy and manually add methods View = Backbone.View.extend {} mkView = () -> v...
This seems to work well. A small amount of manageable boilerplate. I need the context, though, so it looks like: ``` coffee View = Backbone.View.extend method : (args...) -> method(this,...
The style I am using now is ``` coffee addContractMethods = (singleton) -> singleton.method :: (Str) -> Any singleton.method = (str) -> mkClass contractMethods ```