Skip to content

Commit

Permalink
documentation alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorTaelin committed Oct 29, 2024
1 parent d39513e commit 5e23caf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Kind/CompileJS.hs
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,8 @@ removeUnreachables ct = go ct where
CNul

-- Lifts shareable lambdas across branches:
-- - from: λx match v { #Foo{a b}: (λy λz A) #Bar: (λy λz B) ... }
-- - to: λx λy λz match v { #Foo{a b}: A #Bar: B ... }
-- - from: λx match v { #Foo{a b}: λy λz A #Bar: λy λz B ... }
-- - to: λx λy λz match v { #Foo{a b}: A #Bar: B ... }
-- TODO: document why this is (and has to be) terrible
liftLambdas :: [String] -> CT -> Int -> CT
liftLambdas nms ct depth = gen (liftLen ct depth 0 0) [] ct depth where
Expand Down

0 comments on commit 5e23caf

Please sign in to comment.