1
0
forked from GitHub/gf-core

Transfer reflexive example: added ideal version.

This commit is contained in:
bringert
2006-03-13 10:56:45 +00:00
parent 941a9f35ba
commit eee0f20ea8

View File

@@ -29,3 +29,12 @@ reflexivize _ t = composOp ? ? compos_Tree ? reflexivize t
reflexivize_S : Tree S -> Tree S
reflexivize_S = reflexivize S
{-
With a type checker and hidden arguments we could write:
reflexivize : {C : Cat} -> Tree C -> Tree C
reflexivize (PredV2 v s o) | s == o = ReflV2 v s
reflexivize t = composOp reflexivize t
-}