Comment by rsrsrs86

5 years ago

Working with Catala in academy. Also trying to model Catala as a type system embedded in Haskell

What are the benefits of having this be the type level? Asking as a reformed purist.

  • Ok I expressed it wrong. I am just trying to embed a legal DSL it in Haskell and get the type system to help building type-safe contracts - same as embedding the STLC in GADTs