mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-12-21 11:51:31 +03:00
666373e9db
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.
11 lines
370 B
Plaintext
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!
|