mirror of
https://github.com/jtdaugherty/brick.git
synced 2024-12-03 11:41:06 +03:00
commit
618cf6c95b
@ -321,7 +321,7 @@ define the counter event type:
|
||||
data CounterEvent = Counter Int
|
||||
|
||||
With this type declaration we can now use counter events in our app by
|
||||
using the application type ``App s e CounterEvent``. To handle these
|
||||
using the application type ``App s CounterEvent n``. To handle these
|
||||
events we'll just need to look for ``AppEvent`` values in the event
|
||||
handler:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user