Skip to content
luisvgsPublic

About

SequenTT is a small ML-like language with dependent types and universe herarchy.

Resources

Stars

1 star

Watchers

2 watching

Forks

Latest commit

 

History

27 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SequenTT

Examples

-- Universe hierarchies
define A : Type 0;
define x : A;

define Int : Type 0;
define Bool: Type 0;

-- inductive type introduction
data nat : A where
| zero : nat
| suc : nat -> nat
.

let addTen x : Int -> Int = x + 10;


let addexplicit : Int list =
    map addTen [3,4,2];

-- Match statements
let f m : Int -> Bool = match m with
       | 3 -> True
       | _ -> False
 .

f 3;

References

About

SequenTT is a small ML-like language with dependent types and universe herarchy.

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages