1 / 11

System F (part 2)

System F (part 2). CS 321 – PL CSE 김봉준. System F (review). f un untyped2simply u = case u of Untyped e => Simply e | _ => raise NotConvertible fun untyped2poly u = case u of Untyped e => Polymorphic e | _ => raise NotConvertible. System F (review).

hjo
Download Presentation

System F (part 2)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. System F (part 2) CS 321 – PL CSE김봉준

  2. System F (review) • fun untyped2simply u = case u of Untyped e => Simply e | _ => raiseNotConvertible • fununtyped2poly u = case u of Untyped e => Polymorphic e | _ => raiseNotConvertible

  3. System F (review) • Abstract Syntax • Operational Semantics • Type System

  4. System F (review) • Ordered Set • Substitution

  5. Type Reconstruction (review) • Not every untyped expression is typable!

  6. Why we need System F ? • Not practical. • But the way to go more practical version. System F Predicative -Expressive -Undecidable -Less expressive -Decidable Let-Polymorphism

  7. Isneeded “Ordered” ? • I Think, • Fusion 요리가 있기 전에 한국식, 서양식 같은 previously declared 음식 타입 필요. • 이전에는 (Proposition) Permutation 에 의해 doesn’t matter !!

  8. Is needed “Erase” ? • I Think, • 역함수 같은 것. • Typable한 untypedexp에 타입을 붙인 후 erase하면 original exp로 돌아감. • 변한다기 보다 corresponding. • Erase(e’)=e 라면 e와 e’ 간의 유일한 대응

  9. Untyped Typed Untypable Typable e’ e

  10. References • PL 2006 – 교수님 PPT Slide에서 발췌

  11. Thank you for Listening !

More Related