An interpreted, lazy lisp.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
module Typed |
|
|
|
interface Typed (t : Type -> Type) where |
|
int_ty : t Int |
|
fn_ty : t a -> t b -> t (a -> b) |
|
|
|
data PrintableType : (a : Type) -> Type where |
|
MkPrintableType : {a : Type} -> String -> PrintableType a |
|
|
|
viewType : PrintableType a -> String |
|
viewType (MkPrintable s) = s
|
|
|