Skip to content
#

dependent-types

Here are 218 public repositories matching this topic...

Kind
ohad
ohad commented May 29, 2022

(spotted by locria)

Steps to Reproduce

f : (0 x : (a,b)) -> Nat
f x =
  let 0 (u,v) = x in
  0

Expected Behavior

Type-check fine, with 0 u : a and 0 v : b in scope inside the let body.

Observed Behavior

     While processing right hand side of f. x is not accessible in this
     context.
     
      09 | f : (0 x : (a,b)) -> Nat
      10 | f x =
astump
astump commented Jan 15, 2020

It would be a nice convenience to allow the syntax

import M as _.

This would have the effect of checking module M but not adding any of its names to the context of the importing file. The use case for this is if you want to have a single Cedille source file that includes a bunch of other files, without having to worry about namespace clashes. This would be handy for testing. One can achie

good first issue

Improve this page

Add a description, image, and links to the dependent-types topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the dependent-types topic, visit your repo's landing page and select "manage topics."

Learn more