ivy/test/impltype1.ivy

14 строки
126 B
XML

#lang ivy1.6
type t
relation p(X:t)
type q = struct {foo : bool}
implement type t with q
definition p(X) = foo(X as q)