Why not use: update fn state = fn state

you might find this useful

1 Like