I don't think such abstractions are currently possible in Happstack, but I'm CCing the happstack list to see if they have anything to add.
Happstack state methods require monomorphic types, as far as I've ever known. Antoine On Mon, Jan 3, 2011 at 10:00 AM, Markus Barenhoff <[email protected]> wrote: > Hi! > > I'am trying to express a happstack component like the simplified one here: > > https://gist.github.com/763597 > > What exactly is the problem for the compiler? > Is there a better way to describe such a "abstract" or parametrized component? > > Regards > alios > > _______________________________________________ > Haskell-Cafe mailing list > [email protected] > http://www.haskell.org/mailman/listinfo/haskell-cafe > _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
