Skip to content

Commit

Permalink
Fix type of getCanvasElementByIdImpl
Browse files Browse the repository at this point in the history
  • Loading branch information
paf31 committed Dec 3, 2014
1 parent de26afb commit 1828aab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Graphics/Canvas.purs
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@ foreign import getCanvasElementByIdImpl
return Nothing;
}
};
}""" :: forall a eff.
}""" :: forall r eff.
Fn3
String
(a -> Maybe a)
(Maybe a)
(Eff (canvas :: Canvas | eff) (Maybe CanvasElement))
(CanvasElement -> r)
r
(Eff (canvas :: Canvas | eff) r)

getCanvasElementById :: forall eff.
String -> Eff (canvas :: Canvas | eff) (Maybe CanvasElement)
Expand Down

0 comments on commit 1828aab

Please sign in to comment.