Idris2-boot/tests/idris2/basic035/expected
Edwin Brady 666373e9db Implement 'using' notation
See test idris2/basic035; implicitly binds an auto-implicit for
interfaces if no name is given, or an implicit argument if a name is
given.
2020-02-11 17:27:04 +00:00

11 lines
370 B
Plaintext

1/1: Building using (using.idr)
Main> Main.foo : Show a => Eq a => a -> String
Main> "9494"
Main> Main.bar : Int -> Int
Main> 20
Main> Main.needle : Test a b => a -> b -> ()
Main> Main.nardle : Test a b => a -> ()
Main> Main.noo : Test a b => b -> ()
Main> Main> Main.baz : {0 a : Type} -> {0 n : Nat} -> {0 xs : Vect n a} -> === {a = Vect n a} xs xs
Main> Bye for now!