[Haskell-cafe] Code that doesn't compile - but should :)

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Tue Mar 16 05:31:22 EDT 2010

Giuseppe Maggiore <giuseppemag at gmail.com> writes:

> Hi! Can anyone tell me why this code does not work? I cannot seem to
> figure why it is broken...

The error message (and how you got it) would help...

> {-# LANGUAGE MultiParamTypeClasses, FunctionalDependencies, FlexibleInstances,
>   UndecidableInstances, FlexibleContexts, EmptyDataDecls, ScopedTypeVariables,
>   TypeOperators, TypeSynonymInstances #-}

You sure you have enough language extensions there? ;-)

Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com

More information about the Haskell-Cafe mailing list