Vasyl Pasternak <[email protected]> writes:
> Could anyone tell me what is going on, and how to declare SomeMonad as
> instance of Applicative ?

You can't, because you can't define new instances for type aliases.  If
you really want SomeMonad to have a custom instance, define it as a
newtype.



-- 
Ivan Lazar Miljenovic
[email protected]
IvanMiljenovic.wordpress.com
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to