Skip to content

Commit 4cabe54

Browse files
committed
Fix naming inconsistency
1 parent 5d6e918 commit 4cabe54

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Web/UIEvent/UIEvent.purs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import Web.Event.Types (Event)
77

88
foreign import data UIEvent :: Type
99

10-
uiEventToEvent :: UIEvent -> Event
11-
uiEventToEvent = unsafeCoerce
10+
toEvent :: UIEvent -> Event
11+
toEvent = unsafeCoerce
1212

13-
readUIEvent :: Foreign -> F UIEvent
14-
readUIEvent = unsafeReadProtoTagged "UIEvent"
13+
read :: Foreign -> F UIEvent
14+
read = unsafeReadProtoTagged "UIEvent"

0 commit comments

Comments
 (0)