EL56EO4LYXMYS6JCOU5WVSYLAPTKIKFCHXPM4QBBFSMPTUENE5WQC
DIRQI2HA7RISGCHCMYIADD6B7PLORMDOUSEIE46B5EBCUCGNA25AC
NYMIFK2WBHU4G34QF4GZP63ATL2EQC6PLAQLWZMUTPDGDPQUEKVQC
YEPLQQC3GXCKIMKHMG4QF42ZVEBE3AV2P7MXD2FBA4XAJSQNIBEQC
XNPLRKJ4ZK442XNJ5BC7TO3DKXGXFSOSGBZBPW5HZZDHY3IVD6FAC
%foreign "C:getchar,libc 6"%extern
%foreign "C:getchar,libc 6"
%extern
%foreign "scheme,chez:get-char (current-input-port)"
%foreign "C:idris2_getStr, libidris2_support, idris_support.h"%externprim__getStr : PrimIO String
%foreign "C:idris2_getStr, libidris2_support, idris_support.h"
prim__getStr : PrimIO String
%foreign "scheme,chez:get-line (current-input-port)"prim__getLine : PrimIO String
%foreign "scheme,chez:get-line (current-input-port)"
prim__getLine : PrimIO String
%foreign "C:putchar,libc 6"%extern
%foreign "C:putchar,libc 6"
%foreign "scheme,chez:put-char (current-output-port)"
%foreign "C:idris2_putStr, libidris2_support, idris_support.h"%externprim__putStr : String -> PrimIO ()
%foreign "C:idris2_putStr, libidris2_support, idris_support.h"
prim__putStr : String -> PrimIO ()
%foreign "scheme,chez:put-string (current-output-port)"prim__putString : String -> PrimIO ()
%foreign "scheme,chez:put-string (current-output-port)"
prim__putString : String -> PrimIO ()
getLine = MkIO prim__getStr
getLine = MkIO prim__getLine
putString s = MkIO $ prim__putStr s
putString s = MkIO $ prim__putString s
-- Unit
MkPair : {a, b : Type} -> (x : a) -> (y : b) -> Pair a b
MkPair : (x : a) -> (y : b) -> Pair a b
the : (0 t : Type) -> (a : t) -> tthe _ x = x
the : (0 t : Type) -> (a : t) -> t
the _ x = x
the : (0 t : Type) -> t -> tthe _ = identity
the : (0 t : Type) -> t -> t
the _ = identity
const : (x : a) -> ((0 _ : b) -> a)const x = \_ => x
const : (x : a) -> ((0 _ : b) -> a)
const x = \_ => x
constant : a -> b -> aconstant x _ = x
constant : a -> b -> a
constant x _ = x
flip : (f : a -> b -> c) -> b -> a -> c
flip : (a -> b -> c) -> b -> a -> c
(.) f g = \x => f (g x)
(.) f g x = f $ g x
Yes : (prf : p) -> Dec p No : (ctr : Not p) -> Dec p
Yes : (prf : p) -> Dec p
No : (ctr : Not p) -> Dec p
Yes : p -> Dec p No : Not p -> Dec p
Yes : p -> Dec p
No : Not p -> Dec p
public export %inlinereplace : forall x, y, p . (0 rule : x = y) -> p x -> p yreplace Refl prf = prf
public export %inline
replace : forall x, y, p . (0 rule : x = y) -> p x -> p y
replace Refl prf = prf