You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For top-level functions, expect annotations to be introduced on RHS, i.e. Let x (Annot Inline e1) e2. This means that annotations appear around lambdas, so the inliner needs to ensure it looks under Annot when considering arities.
Pragmas to support
Top-level pragmas mirroring GHC: {-# INLINEABLE f #-}, {-# INLINE f #-}, {-# NOINLINE f #-}, {-# CONLIKE #-}
Special function for inlining at a specific call-site: #(__inline), akin to GHC's inline
{-# INLINE_IN_SCOPE f #-} (or similar): a variant of #(__inline) which applies to the current scope, i.e. wrap the entire scope in an InlineHere <name> expression
Activity
hrutvik commentedon Feb 29, 2024
Discussion in meeting:
Annotation types:
annot = NoInline | Inline | Inlineable | ConLike | InlineHere mlstring | ...Let x (Annot Inline e1) e2. This means that annotations appear around lambdas, so the inliner needs to ensure it looks underAnnotwhen considering arities.{-# INLINEABLE f #-},{-# INLINE f #-},{-# NOINLINE f #-},{-# CONLIKE #-}#(__inline), akin to GHC'sinline{-# INLINE_IN_SCOPE f #-}(or similar): a variant of#(__inline)which applies to the current scope, i.e. wrap the entire scope in anInlineHere <name>expressionAdd annotations to `pure_cexp`
Update some proofs for new annotations
Update some more proofs
Get `pure_compilerProof` to build