alecsferra.github.io
data Code where
...
CPi :: Code -> (ElCode -> Code) -> Code
...
{-@ stratified ElCode @-}
data ElCode where
...
{-@ EPi :: d:Code -> m:(Ix ElCode d -> Code)
-> (z:Ix ElCode d -> Ix ElCode (m z))
-> Ix ElCode (CPi d m) @-}
...
data Code where
...
CPi :: Code -> (ElCode -> Code) -> Code
...
{-@ stratified ElCode @-}
data ElCode where
...
{-@ EPi :: d:Code -> m:(Ix ElCode d -> Code)
-> (z:Ix ElCode d -> Ix ElCode (m z))
-> Ix ElCode (CPi d m) @-}
...
> look inside
>
> look inside
>
queue.acm.org/detail.cfm?i...
queue.acm.org/detail.cfm?i...
The blog post is now live! Come one, come all - enjoy this deep dive that commemorates going down the compiler rabbit hole (twice! in the Paris airport!)
savannah.dev/posts/what-t...
- Add a new type declaration in the standard library
- Update the documentation and error messages to use the new type instead of the one we were using before
And it was able to fail miserably
- Add a new type declaration in the standard library
- Update the documentation and error messages to use the new type instead of the one we were using before
And it was able to fail miserably