David Christiansen - Coding for Types: The Universe Patern in Idris - Curry On

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ก.ค. 2024
  • Curry On Prague, July 7th 2015
    curry-on.org
    2015.ecoop.org

ความคิดเห็น • 9

  • @FreeScience
    @FreeScience 9 ปีที่แล้ว +19

    One of the most interesting languages at the moment.

    • @cynocephalusw
      @cynocephalusw 3 ปีที่แล้ว +2

      I think it is still today. It allows even more concise code than most other languages.

  • @preveenpadmanabhan7994
    @preveenpadmanabhan7994 5 ปีที่แล้ว +4

    Great audio. Thanks

  • @mortenbrodersen8664
    @mortenbrodersen8664 6 ปีที่แล้ว +3

    Brilliant talk. Thanks!

  • @timh.6872
    @timh.6872 5 ปีที่แล้ว +2

    I'm probably being a pedant and/or asking for trouble, but couldn't you theoretically make a code type for the Idris Universe(s) and then use that to pattern match on Idris types? Sure, it breaks theorems for free (which is just the fact that parametric polymorphism must be natural), but you need something like that for a self-hosting compiler. If HoTT got folded in, then you could even attempt naturality proofs for non-parametric polymorphic functions in the places where it needs to be ensured.

    • @joomyk
      @joomyk 5 ปีที่แล้ว +1

      btw Idris 2 has type-case, in case you want to give it a try:
      gist.github.com/edwinb/25cd0449aab932bdf49456d426960fed
      github.com/edwinb/Idris2