On 10 September 2011 07:41, Vasili I. Galchin <[email protected]> wrote:
> Hello,
>
> Is there a list of compiler pragmas?
They are located in the documentation for the implementation that
you're using. In particular, ghci will suggest possible pragmas.
> Specifically I am looking at how to
> specify more than one type variable in a class definition. Also I have
> forgotten the "meta syntax" for specifying a pragma ... some kind of Haskell
> comment?
At the top of your file:
{-# LANGUAGE MultiParamTypeClasses, FunctionalDependencies #-}
(You want the first pragma, and may want the second.)
--
Ivan Lazar Miljenovic
[email protected]
IvanMiljenovic.wordpress.com
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe