[Haskell-cafe] Shooting your self in the foot with Haskell

ajb at spamcop.net ajb at spamcop.net
Wed Oct 1 21:39:01 EDT 2008


G'day all.

On Wed, Oct 1, 2008 at 3:42 PM, Jake McArthur <jake at pikewerks.com> wrote:

> Couldn't match expected type 'Deer' against inferred type 'Foot'

     No instance for (Target Foot)
       arising from use of `shoot' at SelfInflictedInjury.hs:1:0
     Possible fix: add an instance declaration for (Target Foot)
     In the expression: shoot foot

Cheers,
Andrew Bromage


More information about the Haskell-Cafe mailing list