Skip to content

Commit

Permalink
Merge pull request #13 from purescript-contrib/maybe
Browse files Browse the repository at this point in the history
Fix type of getCanvasElementByIdImpl
  • Loading branch information
paf31 committed Dec 3, 2014
2 parents de26afb + 1828aab commit 6a859cc
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 6a859cc

Please sign in to comment.