Skip to content

Commit

Permalink
fix neutral radical application
Browse files Browse the repository at this point in the history
  • Loading branch information
pigworker committed Nov 25, 2024
1 parent 698d59e commit d022093
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Language/Ask/Typing.hs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ hnfSyn' (t ::: ty) = do
return (t ::: ty)
hnfSyn' (f :$ s) = hnfSyn f >>= \case
(TB b ::: TC "->" [dom, ran]) -> return ((b // (s ::: dom)) ::: ran)
(TE e ::: _) -> return (e :$ s)
f -> return (f :$ s)
hnfSyn' e | track ("HNFSYN " ++ show e) True = return e

Expand Down

0 comments on commit d022093

Please sign in to comment.