mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
Transfer: Changed transfer program file extension from .tr to .tra to avoid collision with Troff file extension.
This commit is contained in:
6
transfer/lib/bool.tra
Normal file
6
transfer/lib/bool.tra
Normal file
@@ -0,0 +1,6 @@
|
||||
import prelude
|
||||
|
||||
depif : (A:Type) -> (B:Type) -> (b:Bool) -> A -> B -> if Type b then A else B
|
||||
depif _ _ True x _ = x
|
||||
depif _ _ False _ y = y
|
||||
|
||||
Reference in New Issue
Block a user