Skip to content

Commit ed79493

Browse files
committed
docs(magic-do): state the transformation generically in the module header
1 parent 2d0079f commit ed79493

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/Language/PureScript/Backend/IR/MagicDo.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ nullary thunk (@function() … end@, run by calling it), we can recognise their
1313
1414
> function() local x = m1(); local _ = m2(); …; return last() end
1515
16-
which is flat regardless of length. This mirrors the magic-do pass of the
17-
upstream JS backend and @purs-backend-es@.
16+
which is flat regardless of length. This is the classic magic-do
17+
transformation of PureScript backends.
1818
1919
== Why a rewrite into existing 'Let'\/'Abs', not a new IR node
2020

0 commit comments

Comments
 (0)