Opened 3 years ago

Last modified 19 months ago

#369 new feature

Auto wrap foreign primitives and primops when passed to higher order functions.

Reported by: benl Owned by:
Priority: normal Milestone:
Component: Core to Salt Version: 0.4.2
Keywords: Cc:


In demo/core/tetra/02-Lists/Main.dct we need to wrap the primitive primShowNat function with a local super before passing it to a higher order function, as the code generator wants to have a DDC produced super for it. We'll also need to do this for primtiives like add# and mul#. We should do this automatically.

Change History (3)

comment:1 Changed 2 years ago by benl

  • Milestone 0.5.0 deleted

comment:2 Changed 19 months ago by benl

  • Type changed from enhancement to feature

comment:3 Changed 19 months ago by benl

  • Component changed from Core to Sea Translation to Core to Salt
Note: See TracTickets for help on using tickets.