[Haskell-cafe] Happstack related problem with templates/class methods

Antoine Latter aslatter at gmail.com
Mon Jan 3 18:00:58 CET 2011


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 <alios at alios.org> 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
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>



More information about the Haskell-Cafe mailing list