Ailrun / typed-f

Typed functional programming utilities
MIT License
20 stars 2 forks source link

[lens] Revise Lens API #28

Open Ailrun opened 6 years ago

Ailrun commented 6 years ago

Description

In Lens, .get and .set requires empty function call to make getter and setter. However, we actually don't need that, i.e., we can directly call this._get() and this._set(v) instead of returning them. If there are any problems, please post comments about them.