ClojureScript

investigate special case for not in emit :invoke, could eliminate most uses of coercive-not=, coercive-not

Details

  • Type: Task Task
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

The use of coercive-not=, and coercive-not is getting a bit ugly. We could avoid this by checking for not invokes. If the argument is a bool-expr we can emit "!" directly on the argument. This would make core.cljs considerably more idiomatic.

Need to check that this doesn't affect perf.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: