ku-fpg / sunroof-compiler

Monadic Javascript Compiler
BSD 3-Clause "New" or "Revised" License
73 stars 6 forks source link

Remove Action #15

Closed andygill closed 11 years ago

andygill commented 11 years ago

Remove Action abstraction (it is only over the A thread style). If we parametrized over t as well, we have more noise that Action is worth.

type Action a r = a -> JS A r

Also make sure to normalize as many functions as possible to take their object last.

jbracker commented 11 years ago

Removed the Action synonym (7934315a9ddd65a12bee401d08ec256f09473276). Fixed all API functions to use the new convention.